ITemplateOptions

class aws_cdk.core.ITemplateOptions(*args, **kwargs)

Bases: typing_extensions.Protocol

CloudFormation template options for a stack.

__init__(*args, **kwargs)

Attributes

description

Gets or sets the description of this stack. If provided, it will be included in the CloudFormation template’s “Description” attribute.

Return type

Optional[str]

metadata

Metadata associated with the CloudFormation template.

Return type

Optional[Mapping[str, Any]]

template_format_version

Gets or sets the AWSTemplateFormatVersion field of the CloudFormation template.

Return type

Optional[str]

transform

Gets or sets the top-level template transform for this stack (e.g. “AWS::Serverless-2016-10-31”).

deprecated :deprecated: use transforms instead.

stability :stability: deprecated

Return type

Optional[str]

transforms

Gets or sets the top-level template transform(s) for this stack (e.g. ["AWS::Serverless-2016-10-31"]).

Return type

Optional[List[str]]