sparse-intern-71089
03/20/2019, 9:47 PMfull-dress-10026
03/20/2019, 9:49 PMstocky-spoon-28903
03/20/2019, 9:49 PMstocky-spoon-28903
03/20/2019, 9:49 PMfull-dress-10026
03/20/2019, 9:50 PMstocky-spoon-28903
03/20/2019, 9:52 PMfull-dress-10026
03/20/2019, 9:55 PMstocky-spoon-28903
03/20/2019, 10:02 PMfull-dress-10026
03/20/2019, 10:07 PMfull-dress-10026
03/20/2019, 10:12 PMfunction snsEmailSubscription(topicArn: string, email: string) {
return new aws.cloudformation.Stack("alert-email-subscribe", {
templateBody: JSON.stringify({
"AWSTemplateFormatVersion": "2010-09-09",
"Resources": {
"EmailSNSTopic": {
"Type": "AWS::SNS::Subscription",
"Properties": {
"TopicArn": topicArn,
"Protocol": "email",
"Endpoint": email
}
}
}
}),
capabilities: ["CAPABILITY_NAMED_IAM"]
})
}
stocky-spoon-28903
03/20/2019, 10:36 PMawsx
itself, too (cc @white-balloon-205)full-dress-10026
03/20/2019, 11:40 PM