AwsCloudFormationStackProperties

class aws_cdk.cx_api.AwsCloudFormationStackProperties(*, template_file, parameters=None, stack_name=None, termination_protection=None)

Bases: object

Artifact properties for CloudFormation stacks.

Parameters
  • template_file (str) – A file relative to the assembly root which contains the CloudFormation template for this stack.

  • parameters (Optional[Mapping[str, str]]) – Values for CloudFormation stack parameters that should be passed when the stack is deployed.

  • stack_name (Optional[str]) – The name to use for the CloudFormation stack. Default: - name derived from artifact ID

  • termination_protection (Optional[bool]) – Whether to enable termination protection for this stack. Default: false

Attributes

parameters

Values for CloudFormation stack parameters that should be passed when the stack is deployed.

Return type

Optional[Mapping[str, str]]

stack_name

The name to use for the CloudFormation stack.

Default
  • name derived from artifact ID

Return type

Optional[str]

template_file

A file relative to the assembly root which contains the CloudFormation template for this stack.

Return type

str

termination_protection

Whether to enable termination protection for this stack.

Default

false

Return type

Optional[bool]