Interface ArtifactManifest
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ArtifactManifest.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-06T23:25:18.342Z")
@Stability(Stable)
public interface ArtifactManifest
extends software.amazon.jsii.JsiiSerializable
A manifest for a single artifact within the cloud assembly.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.cloud_assembly_schema.*; Object assumeRoleAdditionalOptions; 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 .assumeRoleAdditionalOptions(Map.of( "assumeRoleAdditionalOptionsKey", assumeRoleAdditionalOptions)) .assumeRoleArn("assumeRoleArn") .assumeRoleExternalId("assumeRoleExternalId") .bootstrapStackVersionSsmParameter("bootstrapStackVersionSsmParameter") .cloudFormationExecutionRoleArn("cloudFormationExecutionRoleArn") .lookupRole(BootstrapRole.builder() .arn("arn") // the properties below are optional .assumeRoleAdditionalOptions(Map.of( "assumeRoleAdditionalOptionsKey", assumeRoleAdditionalOptions)) .assumeRoleExternalId("assumeRoleExternalId") .bootstrapStackVersionSsmParameter("bootstrapStackVersionSsmParameter") .requiresBootstrapStackVersion(123) .build()) .notificationArns(List.of("notificationArns")) .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
Modifier and TypeInterfaceDescriptionstatic final class
A builder forArtifactManifest
static final class
An implementation forArtifactManifest
-
Method Summary
Modifier and TypeMethodDescriptionstatic ArtifactManifest.Builder
builder()
IDs of artifacts that must be deployed before this artifact.default String
A string that represents this artifact.default String
The environment into which this artifact is deployed.default Map<String,
List<MetadataEntry>> Associated metadata.default Object
The set of properties for this artifact (depends on type).getType()
The type of artifact.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getType
The type of artifact. -
getDependencies
IDs of artifacts that must be deployed before this artifact.Default: - no dependencies.
-
getDisplayName
A string that represents this artifact.Should only be used in user interfaces.
Default: - no display name
-
getEnvironment
The environment into which this artifact is deployed.Default: - no envrionment.
-
getMetadata
Associated metadata.Default: - no metadata.
-
getProperties
The set of properties for this artifact (depends on type).Default: - no properties.
-
builder
- Returns:
- a
ArtifactManifest.Builder
ofArtifactManifest
-