CfnStackProps

class aws_cdk.aws_cloudformation.CfnStackProps(*, notification_arns=None, parameters=None, tags=None, template_url, timeout_in_minutes=None)

Bases: object

Properties for defining a AWS::CloudFormation::Stack.

Parameters
  • notification_arns (Optional[Sequence[str]]) – AWS::CloudFormation::Stack.NotificationARNs.

  • parameters (Union[IResolvable, Mapping[str, str], None]) – AWS::CloudFormation::Stack.Parameters.

  • tags (Optional[Sequence[CfnTag]]) – AWS::CloudFormation::Stack.Tags.

  • template_url (str) – AWS::CloudFormation::Stack.TemplateURL.

  • timeout_in_minutes (Union[int, float, None]) – AWS::CloudFormation::Stack.TimeoutInMinutes.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-stack.html

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_cloudformation as cloudformation

cfn_stack_props = cloudformation.CfnStackProps(
    template_url="templateUrl",

    # the properties below are optional
    notification_arns=["notificationArns"],
    parameters={
        "parameters_key": "parameters"
    },
    tags=[CfnTag(
        key="key",
        value="value"
    )],
    timeout_in_minutes=123
)

Attributes

notification_arns

AWS::CloudFormation::Stack.NotificationARNs.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-stack.html#cfn-cloudformation-stack-notificationarns

Return type

Optional[List[str]]

parameters

AWS::CloudFormation::Stack.Parameters.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-stack.html#cfn-cloudformation-stack-parameters

Return type

Union[IResolvable, Mapping[str, str], None]

tags

AWS::CloudFormation::Stack.Tags.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-stack.html#cfn-cloudformation-stack-tags

Return type

Optional[List[CfnTag]]

template_url

AWS::CloudFormation::Stack.TemplateURL.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-stack.html#cfn-cloudformation-stack-templateurl

Return type

str

timeout_in_minutes

AWS::CloudFormation::Stack.TimeoutInMinutes.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-stack.html#cfn-cloudformation-stack-timeoutinminutes

Return type

Union[int, float, None]