Hello friends :wave: a casual question about cogni...
# help
j
Hello friends 👋 a casual question about cognito + SES: I'm trying to automate enabling SES messaging for my Cognito User Pools, and after googling and searching i've come to the conclusion that there is no easy one-liner solution. In general, my sst/cdk steps to achieve this look something like this: 1. create sst.StaticSite with a custom domain hosted on Route53, 2. create cognito user pool using sst.Auth, 3. create a verified domain identity in SES with a use of AwsCustomResource + create cname records in Route53 so the identity can be verified, 4. switch to SES in my cognito user pool using CustomResource lambda What do you think of this approach? The actual solution are steps 3 and 4, where I wrote some custom cdk/sdk code to enable SES for my user pool. Do you think it could be solved in a simpler way?
d
I have not gotten to this step yet, but your tactics match what I had planned, and it wouldn't surprise me in the slightest if it was this difficult. Cognito seems like the red-headed stepchild of AWS.