Package software.amazon.awscdk.cxapi
Class NestedCloudAssemblyArtifact
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.cxapi.CloudArtifact
software.amazon.awscdk.cxapi.NestedCloudAssemblyArtifact
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:29:54.727Z")
@Stability(Stable)
public class NestedCloudAssemblyArtifact
extends CloudArtifact
Asset manifest is a description of a set of assets which need to be built and published.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.cloudassembly.schema.*; import software.amazon.awscdk.cxapi.*; CloudAssembly cloudAssembly; NestedCloudAssemblyArtifact nestedCloudAssemblyArtifact = NestedCloudAssemblyArtifact.Builder.create(cloudAssembly, "name") .type(ArtifactType.NONE) // the properties below are optional .dependencies(List.of("dependencies")) .displayName("displayName") .environment("environment") .metadata(Map.of( "metadataKey", List.of(MetadataEntry.builder() .type("type") // the properties below are optional .data("data") .trace(List.of("trace")) .build()))) .properties(AwsCloudFormationStackProperties.builder() .templateFile("templateFile") // the properties below are optional .assumeRoleArn("assumeRoleArn") .assumeRoleExternalId("assumeRoleExternalId") .bootstrapStackVersionSsmParameter("bootstrapStackVersionSsmParameter") .cloudFormationExecutionRoleArn("cloudFormationExecutionRoleArn") .lookupRole(BootstrapRole.builder() .arn("arn") // the properties below are optional .assumeRoleExternalId("assumeRoleExternalId") .bootstrapStackVersionSsmParameter("bootstrapStackVersionSsmParameter") .requiresBootstrapStackVersion(123) .build()) .parameters(Map.of( "parametersKey", "parameters")) .requiresBootstrapStackVersion(123) .stackName("stackName") .stackTemplateAssetObjectUrl("stackTemplateAssetObjectUrl") .tags(Map.of( "tagsKey", "tags")) .terminationProtection(false) .validateOnSynth(false) .build()) .build();
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Constructor Summary
ModifierConstructorDescriptionNestedCloudAssemblyArtifact
(CloudAssembly assembly, String name, ArtifactManifest artifact) protected
NestedCloudAssemblyArtifact
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
NestedCloudAssemblyArtifact
(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionThe relative directory name of the asset manifest.Display name.Full path to the nested assembly directory.The nested Assembly.Methods inherited from class software.amazon.awscdk.cxapi.CloudArtifact
findMetadataByType, fromManifest, getAssembly, getDependencies, getHierarchicalId, getId, getManifest, getMessages
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
-
NestedCloudAssemblyArtifact
protected NestedCloudAssemblyArtifact(software.amazon.jsii.JsiiObjectRef objRef) -
NestedCloudAssemblyArtifact
protected NestedCloudAssemblyArtifact(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
NestedCloudAssemblyArtifact
@Stability(Stable) public NestedCloudAssemblyArtifact(@NotNull CloudAssembly assembly, @NotNull String name, @NotNull ArtifactManifest artifact) - Parameters:
assembly
- This parameter is required.name
- This parameter is required.artifact
- This parameter is required.
-
-
Method Details
-
getDirectoryName
The relative directory name of the asset manifest. -
getDisplayName
Display name. -
getFullPath
Full path to the nested assembly directory. -
getNestedAssembly
The nested Assembly.
-