How to reference an ACM Certificate using the "Domain name" with the AWS CDK

1.5k Views Asked by At

I have a certificate that's a resource in another CloudFormation stack (created by standard CF templates) and I want to reference it by passing the "Domain name" attribute.

The reason I don't want to just use the ARN is because it could change if that resource is re-created.

I've looked through the docs and it seems that this kind of thing can be done for other resources using getAttr or as a method on the relevant class but neither seem to be options in the case of ACM.

0

There are 0 best solutions below