@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:42.902Z") @Stability(value=Stable) public class TreeCloudArtifact extends CloudArtifact
// 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;
TreeCloudArtifact treeCloudArtifact = TreeCloudArtifact.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();
| Modifier and Type | Class and Description |
|---|---|
static class |
TreeCloudArtifact.Builder
A fluent builder for
TreeCloudArtifact. |
| Modifier | Constructor and Description |
|---|---|
|
TreeCloudArtifact(CloudAssembly assembly,
String name,
ArtifactManifest artifact) |
protected |
TreeCloudArtifact(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
TreeCloudArtifact(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getFile() |
findMetadataByType, fromManifest, getAssembly, getDependencies, getHierarchicalId, getId, getManifest, getMessagesjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected TreeCloudArtifact(software.amazon.jsii.JsiiObjectRef objRef)
protected TreeCloudArtifact(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public TreeCloudArtifact(@NotNull
CloudAssembly assembly,
@NotNull
String name,
@NotNull
ArtifactManifest artifact)
assembly - This parameter is required.name - This parameter is required.artifact - This parameter is required.@Stability(value=Stable) @NotNull public String getFile()
Copyright © 2022. All rights reserved.