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 Antwort
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
EXPERTE
beantwortet vor 4 Monaten
profile picture
EXPERTE
überprüft vor einem Monat

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen