Amazon SNS 模板代码段
此示例显示 Amazon SNS 主题资源。它需要有效的电子邮件地址。
JSON
"MySNSTopic" : { "Type" : "AWS::SNS::Topic", "Properties" : { "Subscription" : [ { "Endpoint" : "
add valid email address
", "Protocol" : "email" } ] } }
YAML
MySNSTopic: Type: AWS::SNS::Topic Properties: Subscription: - Endpoint: "
add valid email address
" Protocol: email