Show / Hide Table of Contents

Class CfnStack

The AWS::CloudFormation::Stack resource nests a stack as a resource in a top-level template.

Inheritance
object
CfnElement
CfnRefElement
CfnResource
CfnStack
Implements
IInspectable
ITaggable
Inherited Members
CfnResource.IsCfnResource(object)
CfnResource.AddDeletionOverride(string)
CfnResource.AddDependency(CfnResource)
CfnResource.AddDependsOn(CfnResource)
CfnResource.AddMetadata(string, object)
CfnResource.AddOverride(string, object)
CfnResource.AddPropertyDeletionOverride(string)
CfnResource.AddPropertyOverride(string, object)
CfnResource.ApplyRemovalPolicy(RemovalPolicy?, IRemovalPolicyOptions)
CfnResource.GetAtt(string, ResolutionTypeHint?)
CfnResource.GetMetadata(string)
CfnResource.ObtainDependencies()
CfnResource.ObtainResourceDependencies()
CfnResource.RemoveDependency(CfnResource)
CfnResource.ReplaceDependency(CfnResource, CfnResource)
CfnResource.ShouldSynthesize()
CfnResource.ToString()
CfnResource.ValidateProperties(object)
CfnResource.CfnOptions
CfnResource.CfnResourceType
CfnResource.UpdatedProperites
CfnResource.UpdatedProperties
CfnRefElement.Ref
CfnElement.IsCfnElement(object)
CfnElement.OverrideLogicalId(string)
CfnElement.CreationStack
CfnElement.LogicalId
CfnElement.Stack
Namespace: Amazon.CDK.AWS.CloudFormation
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnStack : CfnResource, IInspectable, ITaggable
Syntax (vb)
Public Class CfnStack Inherits CfnResource Implements IInspectable, ITaggable
Remarks

For more information, see Nested stacks in the AWS 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 AWS CloudFormation User Guide .

A subset of <code>AWS::CloudFormation::Stack</code> resource type properties listed below are available to customers using CloudFormation , AWS CDK , and Cloud Control  to configure.

    These 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 .

      Customers that configure AWS::CloudFormation::Stack using 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 .

        See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-stack.html

        CloudformationResource: AWS::CloudFormation::Stack

        ExampleMetadata: fixture=_generated

        Examples
        // The code below shows an example of how to instantiate this type.
                     // The values are placeholders you should change.
                     using Amazon.CDK.AWS.CloudFormation;
        
                     var cfnStack = new CfnStack(this, "MyCfnStack", new CfnStackProps {
                         NotificationArns = new [] { "notificationArns" },
                         Parameters = new Dictionary<string, string> {
                             { "parametersKey", "parameters" }
                         },
                         Tags = new [] { new CfnTag {
                             Key = "key",
                             Value = "value"
                         } },
                         TemplateUrl = "templateUrl",
                         TimeoutInMinutes = 123
                     });

        Synopsis

        Constructors

        CfnStack(Construct, string, ICfnStackProps?)

        The AWS::CloudFormation::Stack resource nests a stack as a resource in a top-level template.

        Properties

        AttrChangeSetId

        Returns the unique ID of the change set.

        AttrCreationTime

        Returns The time at which the stack was created.

        AttrLastUpdateTime

        Returns the time the stack was last updated.

        AttrOutputs

        Returns a list of output structures.

        AttrParentId

        For nested stacks, returns the stack ID of the direct parent of this stack.

        AttrRootId

        For nested stacks, returns the stack ID of the top-level stack to which the nested stack ultimately belongs.

        AttrStackId

        Returns the unique identifier of the stack.

        AttrStackStatus

        Returns a success or failure message associated with the stack status.

        CFN_RESOURCE_TYPE_NAME

        The CloudFormation resource type name for this resource class.

        CfnProperties

        The AWS::CloudFormation::Stack resource nests a stack as a resource in a top-level template.

        NotificationArns

        The Amazon SNS topic ARNs to publish stack related events.

        Parameters

        The set value pairs that represent the parameters passed to CloudFormation when this nested stack is created.

        Tags

        Tag Manager which manages the tags for this resource.

        TagsRaw

        Key-value pairs to associate with this stack.

        TemplateUrl

        The URL of a file containing the template body.

        TimeoutInMinutes

        The length of time, in minutes, that CloudFormation waits for the nested stack to reach the CREATE_COMPLETE state.

        Methods

        Inspect(TreeInspector)

        Examines the CloudFormation resource and discloses attributes.

        RenderProperties(IDictionary<string, object>)

        The AWS::CloudFormation::Stack resource nests a stack as a resource in a top-level template.

        Constructors

        CfnStack(Construct, string, ICfnStackProps?)

        The AWS::CloudFormation::Stack resource nests a stack as a resource in a top-level template.

        public CfnStack(Construct scope, string id, ICfnStackProps? props = null)
        Parameters
        scope Construct

        Scope in which this resource is defined.

        id string

        Construct identifier for this resource (unique in its scope).

        props ICfnStackProps

        Resource properties.

        Remarks

        For more information, see Nested stacks in the AWS 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 AWS CloudFormation User Guide .

        A subset of <code>AWS::CloudFormation::Stack</code> resource type properties listed below are available to customers using CloudFormation , AWS CDK , and Cloud Control  to configure.
        

          These 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 .

            Customers that configure AWS::CloudFormation::Stack using 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 .

              See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-stack.html

              CloudformationResource: AWS::CloudFormation::Stack

              ExampleMetadata: fixture=_generated

              Properties

              AttrChangeSetId

              Returns the unique ID of the change set.

              public virtual string AttrChangeSetId { get; }
              Property Value

              string

              Remarks

              CloudformationAttribute: ChangeSetId

              AttrCreationTime

              Returns The time at which the stack was created.

              public virtual string AttrCreationTime { get; }
              Property Value

              string

              Remarks

              CloudformationAttribute: CreationTime

              AttrLastUpdateTime

              Returns the time the stack was last updated.

              public virtual string AttrLastUpdateTime { get; }
              Property Value

              string

              Remarks

              This will only be returned if the stack has been updated at least once.

              CloudformationAttribute: LastUpdateTime

              AttrOutputs

              Returns a list of output structures.

              public virtual IResolvable AttrOutputs { get; }
              Property Value

              IResolvable

              Remarks

              CloudformationAttribute: Outputs

              AttrParentId

              For nested stacks, returns the stack ID of the direct parent of this stack.

              public virtual string AttrParentId { get; }
              Property Value

              string

              Remarks

              For the first level of nested stacks, the root stack is also the parent stack.

              CloudformationAttribute: ParentId

              AttrRootId

              For nested stacks, returns the stack ID of the top-level stack to which the nested stack ultimately belongs.

              public virtual string AttrRootId { get; }
              Property Value

              string

              Remarks

              CloudformationAttribute: RootId

              AttrStackId

              Returns the unique identifier of the stack.

              public virtual string AttrStackId { get; }
              Property Value

              string

              Remarks

              CloudformationAttribute: StackId

              AttrStackStatus

              Returns a success or failure message associated with the stack status.

              public virtual string AttrStackStatus { get; }
              Property Value

              string

              Remarks

              CloudformationAttribute: StackStatus

              CFN_RESOURCE_TYPE_NAME

              The CloudFormation resource type name for this resource class.

              public static string CFN_RESOURCE_TYPE_NAME { get; }
              Property Value

              string

              Remarks

              For more information, see Nested stacks in the AWS 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 AWS CloudFormation User Guide .

              A subset of <code>AWS::CloudFormation::Stack</code> resource type properties listed below are available to customers using CloudFormation , AWS CDK , and Cloud Control  to configure.
              

                These 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 .

                  Customers that configure AWS::CloudFormation::Stack using 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 .

                    See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-stack.html

                    CloudformationResource: AWS::CloudFormation::Stack

                    ExampleMetadata: fixture=_generated

                    CfnProperties

                    The AWS::CloudFormation::Stack resource nests a stack as a resource in a top-level template.

                    protected override IDictionary<string, object> CfnProperties { get; }
                    Property Value

                    IDictionary<string, object>

                    Overrides
                    CfnResource.CfnProperties
                    Remarks

                    For more information, see Nested stacks in the AWS 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 AWS CloudFormation User Guide .

                    A subset of <code>AWS::CloudFormation::Stack</code> resource type properties listed below are available to customers using CloudFormation , AWS CDK , and Cloud Control  to configure.
                    

                      These 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 .

                        Customers that configure AWS::CloudFormation::Stack using 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 .

                          See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-stack.html

                          CloudformationResource: AWS::CloudFormation::Stack

                          ExampleMetadata: fixture=_generated

                          NotificationArns

                          The Amazon SNS topic ARNs to publish stack related events.

                          public virtual string[]? NotificationArns { get; set; }
                          Property Value

                          string[]

                          Remarks

                          For more information, see Nested stacks in the AWS 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 AWS CloudFormation User Guide .

                          A subset of <code>AWS::CloudFormation::Stack</code> resource type properties listed below are available to customers using CloudFormation , AWS CDK , and Cloud Control  to configure.
                          

                            These 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 .

                              Customers that configure AWS::CloudFormation::Stack using 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 .

                                See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-stack.html

                                CloudformationResource: AWS::CloudFormation::Stack

                                ExampleMetadata: fixture=_generated

                                Parameters

                                The set value pairs that represent the parameters passed to CloudFormation when this nested stack is created.

                                public virtual object? Parameters { get; set; }
                                Property Value

                                object

                                Remarks

                                For more information, see Nested stacks in the AWS 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 AWS CloudFormation User Guide .

                                A subset of <code>AWS::CloudFormation::Stack</code> resource type properties listed below are available to customers using CloudFormation , AWS CDK , and Cloud Control  to configure.
                                

                                  These 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 .

                                    Customers that configure AWS::CloudFormation::Stack using 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 .

                                      See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-stack.html

                                      CloudformationResource: AWS::CloudFormation::Stack

                                      ExampleMetadata: fixture=_generated

                                      Tags

                                      Tag Manager which manages the tags for this resource.

                                      public virtual TagManager Tags { get; }
                                      Property Value

                                      TagManager

                                      Remarks

                                      For more information, see Nested stacks in the AWS 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 AWS CloudFormation User Guide .

                                      A subset of <code>AWS::CloudFormation::Stack</code> resource type properties listed below are available to customers using CloudFormation , AWS CDK , and Cloud Control  to configure.
                                      

                                        These 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 .

                                          Customers that configure AWS::CloudFormation::Stack using 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 .

                                            See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-stack.html

                                            CloudformationResource: AWS::CloudFormation::Stack

                                            ExampleMetadata: fixture=_generated

                                            TagsRaw

                                            Key-value pairs to associate with this stack.

                                            public virtual ICfnTag[]? TagsRaw { get; set; }
                                            Property Value

                                            ICfnTag[]

                                            Remarks

                                            For more information, see Nested stacks in the AWS 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 AWS CloudFormation User Guide .

                                            A subset of <code>AWS::CloudFormation::Stack</code> resource type properties listed below are available to customers using CloudFormation , AWS CDK , and Cloud Control  to configure.
                                            

                                              These 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 .

                                                Customers that configure AWS::CloudFormation::Stack using 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 .

                                                  See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-stack.html

                                                  CloudformationResource: AWS::CloudFormation::Stack

                                                  ExampleMetadata: fixture=_generated

                                                  TemplateUrl

                                                  The URL of a file containing the template body.

                                                  public virtual string? TemplateUrl { get; set; }
                                                  Property Value

                                                  string

                                                  Remarks

                                                  For more information, see Nested stacks in the AWS 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 AWS CloudFormation User Guide .

                                                  A subset of <code>AWS::CloudFormation::Stack</code> resource type properties listed below are available to customers using CloudFormation , AWS CDK , and Cloud Control  to configure.
                                                  

                                                    These 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 .

                                                      Customers that configure AWS::CloudFormation::Stack using 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 .

                                                        See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-stack.html

                                                        CloudformationResource: AWS::CloudFormation::Stack

                                                        ExampleMetadata: fixture=_generated

                                                        TimeoutInMinutes

                                                        The length of time, in minutes, that CloudFormation waits for the nested stack to reach the CREATE_COMPLETE state.

                                                        public virtual double? TimeoutInMinutes { get; set; }
                                                        Property Value

                                                        double?

                                                        Remarks

                                                        For more information, see Nested stacks in the AWS 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 AWS CloudFormation User Guide .

                                                        A subset of <code>AWS::CloudFormation::Stack</code> resource type properties listed below are available to customers using CloudFormation , AWS CDK , and Cloud Control  to configure.
                                                        

                                                          These 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 .

                                                            Customers that configure AWS::CloudFormation::Stack using 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 .

                                                              See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-stack.html

                                                              CloudformationResource: AWS::CloudFormation::Stack

                                                              ExampleMetadata: fixture=_generated

                                                              Methods

                                                              Inspect(TreeInspector)

                                                              Examines the CloudFormation resource and discloses attributes.

                                                              public virtual void Inspect(TreeInspector inspector)
                                                              Parameters
                                                              inspector TreeInspector

                                                              tree inspector to collect and process attributes.

                                                              Remarks

                                                              For more information, see Nested stacks in the AWS 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 AWS CloudFormation User Guide .

                                                              A subset of <code>AWS::CloudFormation::Stack</code> resource type properties listed below are available to customers using CloudFormation , AWS CDK , and Cloud Control  to configure.
                                                              

                                                                These 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 .

                                                                  Customers that configure AWS::CloudFormation::Stack using 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 .

                                                                    See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-stack.html

                                                                    CloudformationResource: AWS::CloudFormation::Stack

                                                                    ExampleMetadata: fixture=_generated

                                                                    RenderProperties(IDictionary<string, object>)

                                                                    The AWS::CloudFormation::Stack resource nests a stack as a resource in a top-level template.

                                                                    protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
                                                                    Parameters
                                                                    props IDictionary<string, object>
                                                                    Returns

                                                                    IDictionary<string, object>

                                                                    Overrides
                                                                    CfnResource.RenderProperties(IDictionary<string, object>)
                                                                    Remarks

                                                                    For more information, see Nested stacks in the AWS 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 AWS CloudFormation User Guide .

                                                                    A subset of <code>AWS::CloudFormation::Stack</code> resource type properties listed below are available to customers using CloudFormation , AWS CDK , and Cloud Control  to configure.
                                                                    

                                                                      These 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 .

                                                                        Customers that configure AWS::CloudFormation::Stack using 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 .

                                                                          See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-stack.html

                                                                          CloudformationResource: AWS::CloudFormation::Stack

                                                                          ExampleMetadata: fixture=_generated

                                                                          Implements

                                                                          IInspectable
                                                                          ITaggable
                                                                          Back to top Generated by DocFX