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 réponse
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
répondu il y a 4 mois
profile picture
EXPERT
vérifié il y a un mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions