@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:42.897Z") @Stability(value=Stable) public class CloudAssemblyBuilder extends software.amazon.jsii.JsiiObject
Example:
// Example automatically generated from non-compiling source. May contain errors.
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cxapi.*;
CloudAssemblyBuilder cloudAssemblyBuilder;
CloudAssemblyBuilder cloudAssemblyBuilder = CloudAssemblyBuilder.Builder.create("outdir")
.assetOutdir("assetOutdir")
.parentBuilder(cloudAssemblyBuilder)
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
CloudAssemblyBuilder.Builder
A fluent builder for
CloudAssemblyBuilder. |
| Modifier | Constructor and Description |
|---|---|
|
CloudAssemblyBuilder()
Initializes a cloud assembly builder.
|
protected |
CloudAssemblyBuilder(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CloudAssemblyBuilder(software.amazon.jsii.JsiiObjectRef objRef) |
|
CloudAssemblyBuilder(String outdir)
Initializes a cloud assembly builder.
|
|
CloudAssemblyBuilder(String outdir,
CloudAssemblyBuilderProps props)
Initializes a cloud assembly builder.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addArtifact(String id,
ArtifactManifest manifest)
Adds an artifact into the cloud assembly.
|
void |
addMissing(MissingContext missing)
Reports that some context is missing in order for this cloud assembly to be fully synthesized.
|
CloudAssembly |
buildAssembly()
Finalizes the cloud assembly into the output directory returns a `CloudAssembly` object that can be used to inspect the assembly.
|
CloudAssembly |
buildAssembly(AssemblyBuildOptions options)
Finalizes the cloud assembly into the output directory returns a `CloudAssembly` object that can be used to inspect the assembly.
|
CloudAssemblyBuilder |
createNestedAssembly(String artifactId,
String displayName)
Creates a nested cloud assembly.
|
String |
getAssetOutdir()
The directory where assets of this Cloud Assembly should be stored.
|
String |
getOutdir()
The root directory of the resulting cloud assembly.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected CloudAssemblyBuilder(software.amazon.jsii.JsiiObjectRef objRef)
protected CloudAssemblyBuilder(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CloudAssemblyBuilder(@Nullable
String outdir,
@Nullable
CloudAssemblyBuilderProps props)
outdir - The output directory, uses temporary directory if undefined.props - @Stability(value=Stable)
public CloudAssemblyBuilder(@Nullable
String outdir)
outdir - The output directory, uses temporary directory if undefined.@Stability(value=Stable) public CloudAssemblyBuilder()
@Stability(value=Stable)
public void addArtifact(@NotNull
String id,
@NotNull
ArtifactManifest manifest)
id - The ID of the artifact. This parameter is required.manifest - The artifact manifest. This parameter is required.@Stability(value=Stable)
public void addMissing(@NotNull
MissingContext missing)
missing - Missing context information. This parameter is required.@Stability(value=Stable) @NotNull public CloudAssembly buildAssembly(@Nullable AssemblyBuildOptions options)
options - @Stability(value=Stable) @NotNull public CloudAssembly buildAssembly()
@Stability(value=Stable) @NotNull public CloudAssemblyBuilder createNestedAssembly(@NotNull String artifactId, @NotNull String displayName)
artifactId - This parameter is required.displayName - This parameter is required.@Stability(value=Stable) @NotNull public String getAssetOutdir()
@Stability(value=Stable) @NotNull public String getOutdir()
Copyright © 2022. All rights reserved.