@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:42.896Z") @Stability(value=Stable) public class CloudAssembly extends software.amazon.jsii.JsiiObject
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)
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
CloudAssembly.Builder
A fluent builder for
CloudAssembly. |
| Modifier | Constructor and Description |
|---|---|
protected |
CloudAssembly(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CloudAssembly(software.amazon.jsii.JsiiObjectRef objRef) |
|
CloudAssembly(String directory)
Reads a cloud assembly from the specified directory.
|
|
CloudAssembly(String directory,
LoadManifestOptions loadOptions)
Reads a cloud assembly from the specified directory.
|
| Modifier and Type | Method and Description |
|---|---|
List<CloudArtifact> |
getArtifacts()
All artifacts included in this assembly.
|
String |
getDirectory()
The root directory of the cloud assembly.
|
AssemblyManifest |
getManifest()
The raw assembly manifest.
|
List<NestedCloudAssemblyArtifact> |
getNestedAssemblies()
The nested assembly artifacts in this assembly.
|
CloudAssembly |
getNestedAssembly(String artifactId)
Returns a nested assembly.
|
NestedCloudAssemblyArtifact |
getNestedAssemblyArtifact(String artifactId)
Returns a nested assembly artifact.
|
RuntimeInfo |
getRuntime()
Runtime information such as module versions used to synthesize this assembly.
|
CloudFormationStackArtifact |
getStackArtifact(String artifactId)
Returns a CloudFormation stack artifact from this assembly.
|
CloudFormationStackArtifact |
getStackByName(String stackName)
Returns a CloudFormation stack artifact from this assembly.
|
List<CloudFormationStackArtifact> |
getStacks() |
List<CloudFormationStackArtifact> |
getStacksRecursively()
Returns all the stacks, including the ones in nested assemblies.
|
String |
getVersion()
The schema version of the assembly manifest.
|
TreeCloudArtifact |
tree()
Returns the tree metadata artifact from this assembly.
|
CloudArtifact |
tryGetArtifact(String id)
Attempts to find an artifact with a specific identity.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected CloudAssembly(software.amazon.jsii.JsiiObjectRef objRef)
protected CloudAssembly(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CloudAssembly(@NotNull
String directory,
@Nullable
LoadManifestOptions loadOptions)
directory - The root directory of the assembly. This parameter is required.loadOptions - @Stability(value=Stable)
public CloudAssembly(@NotNull
String directory)
directory - The root directory of the assembly. This parameter is required.@Stability(value=Stable) @NotNull public CloudAssembly getNestedAssembly(@NotNull String artifactId)
artifactId - The artifact ID of the nested assembly. This parameter is required.@Stability(value=Stable) @NotNull public NestedCloudAssemblyArtifact getNestedAssemblyArtifact(@NotNull String artifactId)
artifactId - The artifact ID of the nested assembly. This parameter is required.@Stability(value=Stable) @NotNull public CloudFormationStackArtifact getStackArtifact(@NotNull String artifactId)
artifactId - the artifact id of the stack (can be obtained through `stack.artifactId`). This parameter is required.@Stability(value=Stable) @NotNull public CloudFormationStackArtifact getStackByName(@NotNull String stackName)
Will only search the current assembly.
stackName - the name of the CloudFormation stack. This parameter is required.@Stability(value=Stable) @Nullable public TreeCloudArtifact tree()
@Stability(value=Stable) @Nullable public CloudArtifact tryGetArtifact(@NotNull String id)
id - The artifact ID. This parameter is required.@Stability(value=Stable) @NotNull public List<CloudArtifact> getArtifacts()
@Stability(value=Stable) @NotNull public String getDirectory()
@Stability(value=Stable) @NotNull public AssemblyManifest getManifest()
@Stability(value=Stable) @NotNull public List<NestedCloudAssemblyArtifact> getNestedAssemblies()
@Stability(value=Stable) @NotNull public RuntimeInfo getRuntime()
@Stability(value=Stable) @NotNull public List<CloudFormationStackArtifact> getStacks()
@Stability(value=Stable) @NotNull public List<CloudFormationStackArtifact> getStacksRecursively()
@Stability(value=Stable) @NotNull public String getVersion()
Copyright © 2022. All rights reserved.