@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:42.849Z") @Stability(value=Stable) public interface ArtifactManifest extends software.amazon.jsii.JsiiSerializable
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.*;
ArtifactManifest artifactManifest = ArtifactManifest.builder()
.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 | Interface and Description |
|---|---|
static class |
ArtifactManifest.Builder
A builder for
ArtifactManifest |
static class |
ArtifactManifest.Jsii$Proxy
An implementation for
ArtifactManifest |
| Modifier and Type | Method and Description |
|---|---|
static ArtifactManifest.Builder |
builder() |
default List<String> |
getDependencies()
IDs of artifacts that must be deployed before this artifact.
|
default String |
getDisplayName()
A string that represents this artifact.
|
default String |
getEnvironment()
The environment into which this artifact is deployed.
|
default Map<String,List<MetadataEntry>> |
getMetadata()
Associated metadata.
|
default Object |
getProperties()
The set of properties for this artifact (depends on type).
|
ArtifactType |
getType()
The type of artifact.
|
@Stability(value=Stable) @NotNull ArtifactType getType()
@Stability(value=Stable) @Nullable default List<String> getDependencies()
Default: - no dependencies.
@Stability(value=Stable) @Nullable default String getDisplayName()
Should only be used in user interfaces.
Default: - no display name
@Stability(value=Stable) @Nullable default String getEnvironment()
Default: - no envrionment.
@Stability(value=Stable) @Nullable default Map<String,List<MetadataEntry>> getMetadata()
Default: - no metadata.
@Stability(value=Stable) @Nullable default Object getProperties()
Default: - no properties.
@Stability(value=Stable) static ArtifactManifest.Builder builder()
ArtifactManifest.Builder of ArtifactManifestCopyright © 2022. All rights reserved.