@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:42.850Z") @Stability(value=Stable) public interface AssemblyManifest 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.*;
AssemblyManifest assemblyManifest = AssemblyManifest.builder()
.version("version")
// the properties below are optional
.artifacts(Map.of(
"artifactsKey", 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()))
.missing(List.of(MissingContext.builder()
.key("key")
.props(AmiContextQuery.builder()
.account("account")
.filters(Map.of(
"filtersKey", List.of("filters")))
.region("region")
// the properties below are optional
.lookupRoleArn("lookupRoleArn")
.owners(List.of("owners"))
.build())
.provider(ContextProvider.AMI_PROVIDER)
.build()))
.runtime(RuntimeInfo.builder()
.libraries(Map.of(
"librariesKey", "libraries"))
.build())
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
AssemblyManifest.Builder
A builder for
AssemblyManifest |
static class |
AssemblyManifest.Jsii$Proxy
An implementation for
AssemblyManifest |
| Modifier and Type | Method and Description |
|---|---|
static AssemblyManifest.Builder |
builder() |
default Map<String,ArtifactManifest> |
getArtifacts()
The set of artifacts in this assembly.
|
default List<MissingContext> |
getMissing()
Missing context information.
|
default RuntimeInfo |
getRuntime()
Runtime information.
|
String |
getVersion()
Protocol version.
|
@Stability(value=Stable) @NotNull String getVersion()
@Stability(value=Stable) @Nullable default Map<String,ArtifactManifest> getArtifacts()
Default: - no artifacts.
@Stability(value=Stable) @Nullable default List<MissingContext> getMissing()
If this field has values, it means that the cloud assembly is not complete and should not be deployed.
Default: - no missing context.
@Stability(value=Stable) @Nullable default RuntimeInfo getRuntime()
Default: - no info.
@Stability(value=Stable) static AssemblyManifest.Builder builder()
AssemblyManifest.Builder of AssemblyManifestCopyright © 2022. All rights reserved.