| « PreviousNext » | |
![]() ![]() ![]() | Did this page help you? Yes | No | Tell us about it... |
The following properties are available with the AWS::CloudFormation::Stack type.
The AWS::CloudFormation::Stack type embeds a stack as a resource in a template.
You can add output values from an embedded stack within the containing template. You use the GetAtt function with the embedded stack's logical name and
the name of the output value in the embedded stack in the format
Outputs.EmbeddedStackOutputName.
AWS::CloudFormation::Stack Snippets: Stack Resource Snippets.
| Property | Type | Required | Notes |
|---|---|---|---|
|
TemplateURL |
String |
Yes |
The URL of a template that specifies the stack that you want to create as a resource. |
|
TimeoutInMinutes |
String |
No |
The length of time, in minutes, that AWS CloudFormation waits for the embedded stack to reach the CREATE_COMPLETE state. The default is no timeout. When AWS CloudFormation detects that the embedded stack has reached the CREATE_COMPLETE state, it marks the embedded stack resource as CREATE_COMPLETE in the parent stack and resumes creating the parent stack. If the timeout period expires before the embedded stack reaches CREATE_COMPLETE, AWS CloudFormation marks the embedded stack as failed and rolls back both the embedded stack and parent stack. |
|
Parameters |
Conditional |
The set of parameters passed to AWS CloudFormation when this embedded stack is created. |
For AWS::CloudFormation::Stack, Ref returns the Stack ID. For example:
arn:aws:cloudformation:us-east-1:803981987763:stack/mystack-myembeddedstack-sggfrhxhum7w/f449b250-b969-11e0-a185-5081d0136786For more information about using the Ref function, see Ref.
EmbeddedStackOutputNameReturns: The output value from the specified embedded stack where
EmbeddedStackOutputName is the name of the output value.
For more information about using Fn:GetAtt, see Fn::GetAtt.