dflook / cloudformation-dns-certificate

Cloudformation DNS Validated Certificate Resource
MIT License
48 stars 13 forks source link

Is there a way to retrieve the ARN of the created certificate? #1

Closed ima-tech closed 6 years ago

ima-tech commented 6 years ago

I'm wondering if there's a way to retrieve the ARN of the created certificate, directly from CloudFormation.

dflook commented 6 years ago

Yes, as with AWS::CertificateManager::Certificate providing the logical ID of the resource to the Ref function returns the certificate ARN.

For example (in yaml): !Ref 'ExampleCertificate'