AwsCloudFormationStackProperties
- class aws_cdk.cx_api.AwsCloudFormationStackProperties(*, template_file, parameters=None, stack_name=None, termination_protection=None)
Bases:
object(deprecated) Artifact properties for CloudFormation stacks.
- Parameters:
template_file (
str) – (deprecated) A file relative to the assembly root which contains the CloudFormation template for this stack.parameters (
Optional[Mapping[str,str]]) – (deprecated) Values for CloudFormation stack parameters that should be passed when the stack is deployed.stack_name (
Optional[str]) – (deprecated) The name to use for the CloudFormation stack. Default: - name derived from artifact IDtermination_protection (
Optional[bool]) – (deprecated) Whether to enable termination protection for this stack. Default: false
- Deprecated:
The definition of this type has moved to
@aws-cdk/cloud-assembly-api.- Stability:
deprecated
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.cx_api as cx_api aws_cloud_formation_stack_properties = cx_api.AwsCloudFormationStackProperties( template_file="templateFile", # the properties below are optional parameters={ "parameters_key": "parameters" }, stack_name="stackName", termination_protection=False )
Attributes
- parameters
(deprecated) Values for CloudFormation stack parameters that should be passed when the stack is deployed.
- Stability:
deprecated
- stack_name
(deprecated) The name to use for the CloudFormation stack.
- Default:
name derived from artifact ID
- Stability:
deprecated
- template_file
(deprecated) A file relative to the assembly root which contains the CloudFormation template for this stack.
- Stability:
deprecated
- termination_protection
(deprecated) Whether to enable termination protection for this stack.
- Default:
false
- Stability:
deprecated