Open ruchirshetye-aws opened 1 year ago
This mechanism already exists for SNS Custom resources.
From the documentation [1]
Response
{
"Status" : "SUCCESS",
"PhysicalResourceId" : "Tester1",
"StackId" : "arn:aws:cloudformation:us-west-2:123456789012:stack/stack-name/guid",
"RequestId" : "unique id for this create request",
"LogicalResourceId" : "MySeleniumTester",
"Data" : {
"resultsPage" : "http://www.myexampledomain/test-results/guid",
"lastUpdate" : "2012-11-14T03:30Z",
}
}
CloudFormation accessing attributes
"Outputs" : {
"topItem" : {
"Value" : { "Fn::GetAtt" : ["MySeleniumTest", "resultsPage"] }
},
"numRespondents" : {
"Value" : { "Fn::GetAtt" : ["MySeleniumTest", "lastUpdate"] }
}
}
This feature request would not only improve functionality, but also consistency.
Name of the resource
AWS::CloudFormation::WaitCondition
Resource name
No response
Description
As shown below, Currently we can only reference the whole JSON data object from a Wait Condition.
Below is a sample JSON object which can be received.
But there is no way to only reference the value "acbd/pqr.zip" without the key.
It will be helpful for users if we can also "GetAtt" the value in the key value pair.
Something like as follows:
Other Details
No response