AwsCloudFormationStackProperties

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

Bases: object

__init__(*, template_file, parameters=None, stack_name=None, termination_protection=None)

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

stability :stability: experimental

Return type

None

Attributes

parameters

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

stability :stability: experimental

Return type

Optional[Mapping[str, str]]

stack_name

The name to use for the CloudFormation stack.

default :default: - name derived from artifact ID

stability :stability: experimental

Return type

Optional[str]

template_file

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

stability :stability: experimental

Return type

str

termination_protection

Whether to enable termination protection for this stack.

default :default: false

stability :stability: experimental

Return type

Optional[bool]