SNSをPython、boto3で使うときのチートシートです。 publish(送信) 取り急ぎarnの指定のみ…。 後ほど、名前だけで何とかするのも作りたい! 1 2 3 4 5 6 7 def send_mail_by_sns(topic_arn,message,subject): client = boto3.client('sns') response = client.publish( TopicArn = topic_arn, Message = message, Subject = subject ) 1 send_mail_by_sns(topicのarn,送りたいmessageの本文,件名(メー