1 Answer
- Newest
- Most votes
- Most comments
1
Hi,
The EmailIdentity
construct applies to both email addresses and domains.
Assuming you would like to verify a domain identity that has its DNS hosted in Route53, you can leverage the example in the CDK documentation you referenced which results in all the records for that domain being created in Route53:
declare const myHostedZone: route53.IPublicHostedZone;
const identity = new ses.EmailIdentity(stack, 'Identity', {
identity: ses.Identity.publicHostedZone(myHostedZone),
mailFromDomain: 'mail.cdk.dev',
});
Email identity : https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ses-readme.html#email-identity
Relevant content
- asked 2 years ago
- asked 9 months ago
- AWS OFFICIALUpdated 3 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
How would one do this if you are not creating the Route53 PublicHostedZone in the same stack? (how to update within an existing PublicHostedZone?