Package software.amazon.awscdk.cxapi
Class CloudAssembly
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.cxapi.CloudAssembly
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-06T23:25:18.444Z")
@Stability(Stable)
public class CloudAssembly
extends software.amazon.jsii.JsiiObject
Represents a deployable cloud application.
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.*; CloudAssembly cloudAssembly = CloudAssembly.Builder.create("directory") .skipEnumCheck(false) .skipVersionCheck(false) .topoSort(false) .build();
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Constructor Summary
ModifierConstructorDescriptionCloudAssembly
(String directory) Reads a cloud assembly from the specified directory.CloudAssembly
(String directory, LoadManifestOptions loadOptions) Reads a cloud assembly from the specified directory.protected
CloudAssembly
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CloudAssembly
(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionAll artifacts included in this assembly.The root directory of the cloud assembly.The raw assembly manifest.The nested assembly artifacts in this assembly.getNestedAssembly
(String artifactId) Returns a nested assembly.getNestedAssemblyArtifact
(String artifactId) Returns a nested assembly artifact.Runtime information such as module versions used to synthesize this assembly.getStackArtifact
(String artifactId) Returns a CloudFormation stack artifact from this assembly.getStackByName
(String stackName) Returns a CloudFormation stack artifact from this assembly.Returns all the stacks, including the ones in nested assemblies.The schema version of the assembly manifest.tree()
Returns the tree metadata artifact from this assembly.tryGetArtifact
(String id) Attempts to find an artifact with a specific identity.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
-
CloudAssembly
protected CloudAssembly(software.amazon.jsii.JsiiObjectRef objRef) -
CloudAssembly
protected CloudAssembly(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CloudAssembly
@Stability(Stable) public CloudAssembly(@NotNull String directory, @Nullable LoadManifestOptions loadOptions) Reads a cloud assembly from the specified directory.- Parameters:
directory
- The root directory of the assembly. This parameter is required.loadOptions
-
-
CloudAssembly
Reads a cloud assembly from the specified directory.- Parameters:
directory
- The root directory of the assembly. This parameter is required.
-
-
Method Details
-
getNestedAssembly
Returns a nested assembly.- Parameters:
artifactId
- The artifact ID of the nested assembly. This parameter is required.
-
getNestedAssemblyArtifact
@Stability(Stable) @NotNull public NestedCloudAssemblyArtifact getNestedAssemblyArtifact(@NotNull String artifactId) Returns a nested assembly artifact.- Parameters:
artifactId
- The artifact ID of the nested assembly. This parameter is required.
-
getStackArtifact
@Stability(Stable) @NotNull public CloudFormationStackArtifact getStackArtifact(@NotNull String artifactId) Returns a CloudFormation stack artifact from this assembly.- Parameters:
artifactId
- the artifact id of the stack (can be obtained throughstack.artifactId
). This parameter is required.- Returns:
- a
CloudFormationStackArtifact
object.
-
getStackByName
@Stability(Stable) @NotNull public CloudFormationStackArtifact getStackByName(@NotNull String stackName) Returns a CloudFormation stack artifact from this assembly.Will only search the current assembly.
- Parameters:
stackName
- the name of the CloudFormation stack. This parameter is required.- Returns:
- a
CloudFormationStackArtifact
object.
-
tree
Returns the tree metadata artifact from this assembly.- Returns:
- a
TreeCloudArtifact
object if there is one defined in the manifest,undefined
otherwise.
-
tryGetArtifact
Attempts to find an artifact with a specific identity.- Parameters:
id
- The artifact ID. This parameter is required.- Returns:
- A
CloudArtifact
object orundefined
if the artifact does not exist in this assembly.
-
getArtifacts
All artifacts included in this assembly. -
getDirectory
The root directory of the cloud assembly. -
getManifest
The raw assembly manifest. -
getNestedAssemblies
The nested assembly artifacts in this assembly. -
getRuntime
Runtime information such as module versions used to synthesize this assembly. -
getStacks
- Returns:
- all the CloudFormation stack artifacts that are included in this assembly.
-
getStacksRecursively
Returns all the stacks, including the ones in nested assemblies. -
getVersion
The schema version of the assembly manifest.
-