CfnStackPropsMixin Mixin
The AWS::CloudFormation::Stack resource nests a stack as a resource in a top-level template.
For more information, see Nested stacks in the CloudFormation User Guide .
You can add output values from a nested stack within the containing template. You use the GetAtt function with the nested stack's logical name and the name of the output value in the nested stack in the format Outputs. *NestedStackOutputName* .
We strongly recommend that updates to nested stacks are run from the parent stack.
When you apply template changes to update a top-level stack, CloudFormation updates the top-level stack and initiates an update to its nested stacks. CloudFormation updates the resources of modified nested stacks, but doesn't update the resources of unmodified nested stacks.
For stacks that contain IAM resources, you must acknowledge IAM capabilities. Also, make sure that you have cancel update stack permissions, which are required if an update rolls back. For more information about IAM and CloudFormation , see Controlling access with AWS Identity and Access Management in the CloudFormation User Guide .
A subset of
AWS::CloudFormation::Stackresource type properties listed below are available to customers using CloudFormation , AWS CDK , and Cloud Control to configure.
NotificationARNsParametersTagsTemplateURLTimeoutInMinutesThese properties can be configured only when using Cloud Control . This is because the below properties are set by the parent stack, and thus cannot be configured using CloudFormation or AWS CDK but only Cloud Control .
CapabilitiesDescriptionDisableRollbackEnableTerminationProtectionRoleARNStackNameStackPolicyBodyStackPolicyURLStackStatusReasonTemplateBodyCustomers that configure
AWS::CloudFormation::Stackusing CloudFormation and AWS CDK can do so for nesting a CloudFormation stack as a resource in their top-level template.These read-only properties can be accessed only when using Cloud Control .
ChangeSetIdCreationTimeLastUpdateTimeOutputsParentIdRootIdStackIdStackStatus
Initializer
new CfnStackPropsMixin(props: CfnStackMixinProps, options?: CfnPropertyMixinOptions)
CfnStackPropsMixin(props: CfnStackMixinProps, options: typing.Optional[CfnPropertyMixinOptions] = None)
new CfnStackPropsMixin(CfnStackMixinProps props, CfnPropertyMixinOptions options)
new CfnStackPropsMixin(CfnStackMixinProps props, CfnPropertyMixinOptions? options = null)
NewCfnStackPropsMixin(Props CfnStackMixinProps, Options CfnPropertyMixinOptions)
Methods
applyTo(construct: IConstruct): voiddef apply_to(self, construct: IConstruct) -> Nonepublic void applyTo(IConstruct construct)public void ApplyTo(IConstruct construct)func ApplyTo(Construct IConstruct)#isMixin(x: any): boolean@staticmethod def is_mixin(x: Any) -> boolpublic static Boolean isMixin(Object x)public static bool IsMixin(object x)func IsMixin(X interface{}) *boolstatic#1 parameter · returns
Parameters
xxxxX— Any object.
Returns: true if x is an object created from a class which extends Mixin.
supports(construct: IConstruct): booleandef supports(self, construct: IConstruct) -> boolpublic Boolean supports(IConstruct construct)public bool Supports(IConstruct construct)func Supports(Construct IConstruct) *bool#