Interface AwsCloudFormationStackProperties
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
AwsCloudFormationStackProperties.Jsii$Proxy
@Generated(value="jsii-pacmak/1.118.0 (build 02eec31)", date="2025-11-06T20:25:05.759Z") @Stability(Stable) public interface AwsCloudFormationStackProperties extends software.amazon.jsii.JsiiSerializable
Artifact properties for CloudFormation stacks.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classAwsCloudFormationStackProperties.BuilderA builder forAwsCloudFormationStackPropertiesstatic classAwsCloudFormationStackProperties.Jsii$ProxyAn implementation forAwsCloudFormationStackProperties
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static AwsCloudFormationStackProperties.Builderbuilder()default Map<String,Object>getAssumeRoleAdditionalOptions()Additional options to pass to STS when assuming the role.default StringgetAssumeRoleArn()The role that needs to be assumed to deploy the stack.default StringgetAssumeRoleExternalId()External ID to use when assuming role for cloudformation deployments.default StringgetBootstrapStackVersionSsmParameter()SSM parameter where the bootstrap stack version number can be found.default StringgetCloudFormationExecutionRoleArn()The role that is passed to CloudFormation to execute the change set.default BootstrapRolegetLookupRole()The role to use to look up values from the target AWS account.default List<String>getNotificationArns()SNS Notification ARNs that should receive CloudFormation Stack Events.default Map<String,String>getParameters()Values for CloudFormation stack parameters that should be passed when the stack is deployed.default NumbergetRequiresBootstrapStackVersion()Version of bootstrap stack required to deploy this stack.default StringgetStackName()The name to use for the CloudFormation stack.default StringgetStackTemplateAssetObjectUrl()If the stack template has already been included in the asset manifest, its asset URL.default Map<String,String>getTags()Values for CloudFormation stack tags that should be passed when the stack is deployed.StringgetTemplateFile()A file relative to the assembly root which contains the CloudFormation template for this stack.default BooleangetTerminationProtection()Whether to enable termination protection for this stack.default BooleangetValidateOnSynth()Whether this stack should be validated by the CLI after synthesis.
-
-
-
Method Detail
-
getTemplateFile
@Stability(Stable) @NotNull String getTemplateFile()
A file relative to the assembly root which contains the CloudFormation template for this stack.
-
getAssumeRoleAdditionalOptions
@Stability(Stable) @Nullable default Map<String,Object> getAssumeRoleAdditionalOptions()
Additional options to pass to STS when assuming the role.RoleArnshould not be used. Use the dedicatedassumeRoleArnproperty instead.ExternalIdshould not be used. Use the dedicatedassumeRoleExternalIdinstead.
Default: - No additional options.
-
getAssumeRoleArn
@Stability(Stable) @Nullable default String getAssumeRoleArn()
The role that needs to be assumed to deploy the stack.Default: - No role is assumed (current credentials are used)
-
getAssumeRoleExternalId
@Stability(Stable) @Nullable default String getAssumeRoleExternalId()
External ID to use when assuming role for cloudformation deployments.Default: - No external ID
-
getBootstrapStackVersionSsmParameter
@Stability(Stable) @Nullable default String getBootstrapStackVersionSsmParameter()
SSM parameter where the bootstrap stack version number can be found.Only used if
requiresBootstrapStackVersionis set.- If this value is not set, the bootstrap stack name must be known at deployment time so the stack version can be looked up from the stack outputs.
- If this value is set, the bootstrap stack can have any name because we won't need to look it up.
Default: - Bootstrap stack version number looked up
-
getCloudFormationExecutionRoleArn
@Stability(Stable) @Nullable default String getCloudFormationExecutionRoleArn()
The role that is passed to CloudFormation to execute the change set.Default: - No role is passed (currently assumed role/credentials are used)
-
getLookupRole
@Stability(Stable) @Nullable default BootstrapRole getLookupRole()
The role to use to look up values from the target AWS account.Default: - No role is assumed (current credentials are used)
-
getNotificationArns
@Stability(Stable) @Nullable default List<String> getNotificationArns()
SNS Notification ARNs that should receive CloudFormation Stack Events.Default: - No notification arns
-
getParameters
@Stability(Stable) @Nullable default Map<String,String> getParameters()
Values for CloudFormation stack parameters that should be passed when the stack is deployed.Default: - No parameters
-
getRequiresBootstrapStackVersion
@Stability(Stable) @Nullable default Number getRequiresBootstrapStackVersion()
Version of bootstrap stack required to deploy this stack.Default: - No bootstrap stack required
-
getStackName
@Stability(Stable) @Nullable default String getStackName()
The name to use for the CloudFormation stack.Default: - name derived from artifact ID
-
getStackTemplateAssetObjectUrl
@Stability(Stable) @Nullable default String getStackTemplateAssetObjectUrl()
If the stack template has already been included in the asset manifest, its asset URL.Default: - Not uploaded yet, upload just before deploying
-
getTags
@Stability(Stable) @Nullable default Map<String,String> getTags()
Values for CloudFormation stack tags that should be passed when the stack is deployed.Default: - No tags
-
getTerminationProtection
@Stability(Stable) @Nullable default Boolean getTerminationProtection()
Whether to enable termination protection for this stack.Default: false
-
getValidateOnSynth
@Stability(Stable) @Nullable default Boolean getValidateOnSynth()
Whether this stack should be validated by the CLI after synthesis.Default: - false
-
builder
@Stability(Stable) static AwsCloudFormationStackProperties.Builder builder()
-
-