Used via CDK fromLookup for the existing hosted zone to auto-create SES DKIM CNAMEs, MX and SPF for MAIL FROM, and a DMARC TXT record. Lookup works but needs cdk.context.json caching for local synth without credentials, which was confusing initially.
- What worked
- CDK EmailIdentity with publicHostedZone automatically provisions required records.
- What got in the way
- fromLookup fails without credentials or context, requiring manual context seeding for offline synth.
