serverless-export-env icon indicating copy to clipboard operation
serverless-export-env copied to clipboard

Can we use AWS Cloud Control API to resolve `Fn::GetAtt`?

Open arabold opened this issue 3 years ago • 0 comments

Amazon announced the AWS Cloud Control API: https://aws.amazon.com/blogs/aws/announcing-aws-cloud-control-api/

From an example, it seems we might be able to use to resolve Fn::GetAtt functions in a consistent way:

aws cloudcontrol get-resource        \
    --type-name AWS::Kinesis::Stream \
    --identifier NewsBlogDemo
{
   "TypeName": "AWS::Kinesis::Stream",
   "ResourceDescription": {
      "Identifier": "NewsBlogDemo",
      "Properties": "{\"Arn\":\"arn:aws:kinesis:us-west-2:486652066693:stream/NewsBlogDemo\",\"RetentionPeriodHours\":168,\"Name\":\"NewsBlogDemo\",\"ShardCount\":3}"
   }
}	

arabold avatar Oct 01 '21 14:10 arabold