CfnIncludeProps

class aws_cdk.core.CfnIncludeProps(*, template)

Bases: object

(deprecated) Construction properties for {@link CfnInclude}.

Parameters:

template (Mapping[Any, Any]) – (deprecated) The CloudFormation template to include in the stack (as is).

Deprecated:

use the CfnInclude class from the cloudformation-include module instead

Stability:

deprecated

ExampleMetadata:

infused

Example:

CfnInclude(self, "ID",
    template={
        "Resources": {
            "Bucket": {
                "Type": "AWS::S3::Bucket",
                "Properties": {
                    "BucketName": "my-shiny-bucket"
                }
            }
        }
    }
)

Attributes

template

(deprecated) The CloudFormation template to include in the stack (as is).

Stability:

deprecated