How do I set the SES default configuration set for a domain identity through the CLI?

0

The title is pretty self explanatory, I hope. Alternatively I'd like to be able to do this through an SDK, preferably boto3/python.

1 Answer
1

Hello.

Amazon SES domain verification can be performed with "verify-domain-identity".
https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ses/verify-domain-identity.html

aws ses verify-domain-identity --domain "test.com"

Create a configuration set using the commands described in the following document.
https://docs.aws.amazon.com/ses/latest/dg/creating-configuration-sets.html
https://awscli.amazonaws.com/v2/documentation/api/latest/reference/sesv2/create-configuration-set.html

aws sesv2 create-configuration-set --cli-input-json file://create-configuration-set.json

Linking of configuration sets is done using "put-email-identity-configuration-set-attributes".
https://awscli.amazonaws.com/v2/documentation/api/latest/reference/sesv2/put-email-identity-configuration-set-attributes.html

aws sesv2 put-email-identity-configuration-set-attributes --email-identity "test.com" --configuration-set-name "test"
profile picture
EXPERT
answered 3 months ago
profile picture
EXPERT
reviewed 24 days ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions