Using Console
Using CLI
<topic-arn>
with the ARN of the SNS topic and <kms-key-id>
with the ARN of the KMS CMK created in step 2.Using Python
set_topic_attributes()
method in Boto3.
topic_arn
and AttributeValue
with the appropriate values for your AWS account.