CloudFormation

You can also request certificates as part of the CloudFormation stack. This is great for ensuring each of your resources has a specific certificate, unique to each deployment.

Here is a sample snippet of CloudFormation YAML to create a certificate, similar to the preceding example in this recipe:

Resources:   MyCertificate:     Type: "AWS::CertificateManager::Certificate"     Properties:       DomainName: <your-domain>

Get AWS Administration Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.