interface CfnIncludeProps
Language | Type name |
---|---|
.NET | Amazon.CDK.CfnIncludeProps |
Java | software.amazon.awscdk.core.CfnIncludeProps |
Python | aws_cdk.core.CfnIncludeProps |
TypeScript (source) | @aws-cdk/core » CfnIncludeProps |
⚠️ Deprecated: use the CfnInclude class from the cloudformation-include module instead
Construction properties for {@link CfnInclude}.
Example
new CfnInclude(this, 'ID', {
template: {
Resources: {
Bucket: {
Type: 'AWS::S3::Bucket',
Properties: {
BucketName: 'my-shiny-bucket'
}
}
}
},
});
Properties
Name | Type | Description |
---|---|---|
template | json | The CloudFormation template to include in the stack (as is). |
template
⚠️ Deprecated: use the CfnInclude class from the cloudformation-include module instead
Type:
json
The CloudFormation template to include in the stack (as is).