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 個回答
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
專家
已回答 4 個月前
profile picture
專家
已審閱 1 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南