interface AwsCloudFormationStackProperties
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CloudAssembly.Schema.AwsCloudFormationStackProperties |
Java | software.amazon.awscdk.cloudassembly.schema.AwsCloudFormationStackProperties |
Python | aws_cdk.cloud_assembly_schema.AwsCloudFormationStackProperties |
TypeScript | @aws-cdk/cloud-assembly-schema » AwsCloudFormationStackProperties |
Artifact properties for CloudFormation stacks.
Properties
| Name | Type | Description |
|---|---|---|
| template | string | A file relative to the assembly root which contains the CloudFormation template for this stack. |
| assume | { [string]: any } | Additional options to pass to STS when assuming the role. |
| assume | string | The role that needs to be assumed to deploy the stack. |
| assume | string | External ID to use when assuming role for cloudformation deployments. |
| bootstrap | string | SSM parameter where the bootstrap stack version number can be found. |
| cloud | string | The role that is passed to CloudFormation to execute the change set. |
| lookup | Bootstrap | The role to use to look up values from the target AWS account. |
| notification | string[] | SNS Notification ARNs that should receive CloudFormation Stack Events. |
| parameters? | { [string]: string } | Values for CloudFormation stack parameters that should be passed when the stack is deployed. |
| requires | number | Version of bootstrap stack required to deploy this stack. |
| stack | string | The name to use for the CloudFormation stack. |
| stack | string | If the stack template has already been included in the asset manifest, its asset URL. |
| tags? | { [string]: string } | Values for CloudFormation stack tags that should be passed when the stack is deployed. |
| termination | boolean | Whether to enable termination protection for this stack. |
| validate | boolean | Whether this stack should be validated by the CLI after synthesis. |
templateFile
Type:
string
A file relative to the assembly root which contains the CloudFormation template for this stack.
assumeRoleAdditionalOptions?
Type:
{ [string]: any }
(optional, default: No additional options.)
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.
assumeRoleArn?
Type:
string
(optional, default: No role is assumed (current credentials are used))
The role that needs to be assumed to deploy the stack.
assumeRoleExternalId?
Type:
string
(optional, default: No external ID)
External ID to use when assuming role for cloudformation deployments.
bootstrapStackVersionSsmParameter?
Type:
string
(optional, default: Bootstrap stack version number looked up)
SSM parameter where the bootstrap stack version number can be found.
Only used if requiresBootstrapStackVersion is 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.
cloudFormationExecutionRoleArn?
Type:
string
(optional, default: No role is passed (currently assumed role/credentials are used))
The role that is passed to CloudFormation to execute the change set.
lookupRole?
Type:
Bootstrap
(optional, default: No role is assumed (current credentials are used))
The role to use to look up values from the target AWS account.
notificationArns?
Type:
string[]
(optional, default: No notification arns)
SNS Notification ARNs that should receive CloudFormation Stack Events.
parameters?
Type:
{ [string]: string }
(optional, default: No parameters)
Values for CloudFormation stack parameters that should be passed when the stack is deployed.
requiresBootstrapStackVersion?
Type:
number
(optional, default: No bootstrap stack required)
Version of bootstrap stack required to deploy this stack.
stackName?
Type:
string
(optional, default: name derived from artifact ID)
The name to use for the CloudFormation stack.
stackTemplateAssetObjectUrl?
Type:
string
(optional, default: Not uploaded yet, upload just before deploying)
If the stack template has already been included in the asset manifest, its asset URL.
tags?
Type:
{ [string]: string }
(optional, default: No tags)
Values for CloudFormation stack tags that should be passed when the stack is deployed.
terminationProtection?
Type:
boolean
(optional, default: false)
Whether to enable termination protection for this stack.
validateOnSynth?
Type:
boolean
(optional, default: false)
Whether this stack should be validated by the CLI after synthesis.

.NET
Java
Python
TypeScript