@Generated(value="jsii-pacmak/1.60.0 (build ebcefe6)",
date="2022-06-22T23:27:49.093Z")
public interface AwsCloudFormationStackProperties
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.*; AwsCloudFormationStackProperties awsCloudFormationStackProperties = 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();
Modifier and Type | Interface and Description |
---|---|
static class |
AwsCloudFormationStackProperties.Builder
A builder for
AwsCloudFormationStackProperties |
static class |
AwsCloudFormationStackProperties.Jsii$Proxy
An implementation for
AwsCloudFormationStackProperties |
Modifier and Type | Method and Description |
---|---|
static AwsCloudFormationStackProperties.Builder |
builder() |
default java.lang.String |
getAssumeRoleArn()
The role that needs to be assumed to deploy the stack.
|
default java.lang.String |
getAssumeRoleExternalId()
External ID to use when assuming role for cloudformation deployments.
|
default java.lang.String |
getBootstrapStackVersionSsmParameter()
SSM parameter where the bootstrap stack version number can be found.
|
default java.lang.String |
getCloudFormationExecutionRoleArn()
The role that is passed to CloudFormation to execute the change set.
|
default BootstrapRole |
getLookupRole()
The role to use to look up values from the target AWS account.
|
default java.util.Map<java.lang.String,java.lang.String> |
getParameters()
Values for CloudFormation stack parameters that should be passed when the stack is deployed.
|
default java.lang.Number |
getRequiresBootstrapStackVersion()
Version of bootstrap stack required to deploy this stack.
|
default java.lang.String |
getStackName()
The name to use for the CloudFormation stack.
|
default java.lang.String |
getStackTemplateAssetObjectUrl()
If the stack template has already been included in the asset manifest, its asset URL.
|
default java.util.Map<java.lang.String,java.lang.String> |
getTags()
Values for CloudFormation stack tags that should be passed when the stack is deployed.
|
java.lang.String |
getTemplateFile()
A file relative to the assembly root which contains the CloudFormation template for this stack.
|
default java.lang.Boolean |
getTerminationProtection()
Whether to enable termination protection for this stack.
|
default java.lang.Boolean |
getValidateOnSynth()
Whether this stack should be validated by the CLI after synthesis.
|
java.lang.String getTemplateFile()
default java.lang.String getAssumeRoleArn()
Default: - No role is assumed (current credentials are used)
default java.lang.String getAssumeRoleExternalId()
Default: - No external ID
default java.lang.String getBootstrapStackVersionSsmParameter()
Only used if requiresBootstrapStackVersion
is set.
Default: - Bootstrap stack version number looked up
default java.lang.String getCloudFormationExecutionRoleArn()
Default: - No role is passed (currently assumed role/credentials are used)
default BootstrapRole getLookupRole()
Default: - No role is assumed (current credentials are used)
default java.util.Map<java.lang.String,java.lang.String> getParameters()
Default: - No parameters
default java.lang.Number getRequiresBootstrapStackVersion()
Default: - No bootstrap stack required
default java.lang.String getStackName()
Default: - name derived from artifact ID
default java.lang.String getStackTemplateAssetObjectUrl()
Default: - Not uploaded yet, upload just before deploying
default java.util.Map<java.lang.String,java.lang.String> getTags()
Default: - No tags
default java.lang.Boolean getTerminationProtection()
Default: false
default java.lang.Boolean getValidateOnSynth()
Default: - false
static AwsCloudFormationStackProperties.Builder builder()