aws-cloudformation / aws-cloudformation/cloudformation-coverage-roadmap
AWS::Amplify::Domain Fn::GetAtt CloudFront CNAME / Domain Association Properties
- Dominant language
- No language data
- Stars
- 1.1k
- Forks
- 62
- PR merge metrics
- No merged PRs in 30d
Description
## AWS::Amplify::Domain Fn::GetAtt CloudFront CNAME / Domain Association Properties
## Scope of request
I would like to be able to `Fn::GetAtt` the properties returned from `aws amplify get-domain-association` for a given `AWS::Amplify::Domain`. Properties I would like available include:
- `domainAssociation.certificateVerificationDNSRecord` - since this value (in the API) is returned as `name TYPE value`, it would be nice if this was broken up into separate values in CloudFormation. So something like `!GetAtt MyDomain.CertificateVerificationDNSRecord.Name`, `!GetAtt MyDomain.CertificateVerificationDNSRecord.Type`, `!GetAtt MyDomain.CertificateVerificationDNSRecord.Value`
- `subDomains[].dnsRecord` - In the API, the `subDomains` value is returned as an array, however they all would share the same `dnsRecord`, so I think it would be acceptable to return this property directly, instead of in an array. Similar to the `certificateVerificationDNSRecord`, this value (in the API) is returned as `TYPE cloudfront-target`. Ideally just the type and cloudfront target properties would be returned. So something like `!GetAtt MyDomain.DnsRecord.CloudFrontTarget`, `!GetAtt MyDomain.DnsRecord.Type`
This would make it easy to add automation around amplify domains when you have dns managed outside of the existing account.
## Helpful Links to speed up research and evaluation
- https://docs.aws.amazon.com/cli/latest/reference/amplify/get-domain-association.html
## Category
Mobile (According to the AWS Console)
Contributor guide
Assessment
This issue has not been assessed yet.