Package software.amazon.awscdk.cxapi
Class CloudAssemblyBuilder
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.cxapi.CloudAssemblyBuilder
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2025-01-10T21:57:01.281Z")
@Stability(Stable)
public class CloudAssemblyBuilder
extends software.amazon.jsii.JsiiObject
Can be used to build a cloud assembly.
Example:
// 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();
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Constructor Summary
ModifierConstructorDescriptionInitializes a cloud assembly builder.CloudAssemblyBuilder
(String outdir) Initializes a cloud assembly builder.CloudAssemblyBuilder
(String outdir, CloudAssemblyBuilderProps props) Initializes a cloud assembly builder.protected
CloudAssemblyBuilder
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CloudAssemblyBuilder
(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionvoid
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.Finalizes the cloud assembly into the output directory returns aCloudAssembly
object that can be used to inspect the assembly.buildAssembly
(AssemblyBuildOptions options) Finalizes the cloud assembly into the output directory returns aCloudAssembly
object that can be used to inspect the assembly.createNestedAssembly
(String artifactId, String displayName) Creates a nested cloud assembly.void
delete()
Delete the cloud assembly directory.The directory where assets of this Cloud Assembly should be stored.The root directory of the resulting cloud assembly.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
CloudAssemblyBuilder
protected CloudAssemblyBuilder(software.amazon.jsii.JsiiObjectRef objRef) -
CloudAssemblyBuilder
protected CloudAssemblyBuilder(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CloudAssemblyBuilder
@Stability(Stable) public CloudAssemblyBuilder(@Nullable String outdir, @Nullable CloudAssemblyBuilderProps props) Initializes a cloud assembly builder.- Parameters:
outdir
- The output directory, uses temporary directory if undefined.props
-
-
CloudAssemblyBuilder
Initializes a cloud assembly builder.- Parameters:
outdir
- The output directory, uses temporary directory if undefined.
-
CloudAssemblyBuilder
@Stability(Stable) public CloudAssemblyBuilder()Initializes a cloud assembly builder.
-
-
Method Details
-
addArtifact
Adds an artifact into the cloud assembly.- Parameters:
id
- The ID of the artifact. This parameter is required.manifest
- The artifact manifest. This parameter is required.
-
addMissing
Reports that some context is missing in order for this cloud assembly to be fully synthesized.- Parameters:
missing
- Missing context information. This parameter is required.
-
buildAssembly
@Stability(Stable) @NotNull public CloudAssembly buildAssembly(@Nullable AssemblyBuildOptions options) Finalizes the cloud assembly into the output directory returns aCloudAssembly
object that can be used to inspect the assembly.- Parameters:
options
-
-
buildAssembly
Finalizes the cloud assembly into the output directory returns aCloudAssembly
object that can be used to inspect the assembly. -
createNestedAssembly
@Stability(Stable) @NotNull public CloudAssemblyBuilder createNestedAssembly(@NotNull String artifactId, @NotNull String displayName) Creates a nested cloud assembly.- Parameters:
artifactId
- This parameter is required.displayName
- This parameter is required.
-
delete
@Stability(Stable) public void delete()Delete the cloud assembly directory. -
getAssetOutdir
The directory where assets of this Cloud Assembly should be stored. -
getOutdir
The root directory of the resulting cloud assembly.
-