【发布时间】:2017-04-16 03:14:26
【问题描述】:
我在 cloudformation 模板中有这段代码:
"MyBucket": {
"Type" : "AWS::S3::Bucket",
"Properties" : {
"NotificationConfiguration": {
"TopicConfigurations": [
{
"Event": ["s3:ObjectCreated:Put" , "s3:ObjectCreated:Post"],
"Topic": { "Ref": "TopicSNS" }
}
]
}
}
}
通过在 CloudFormation 中创建堆栈测试此代码后,我收到此错误:Value of property Event must be of type String 并且创建失败。
这样做的理由是什么?
谢谢
【问题讨论】:
标签: json amazon-s3 amazon-sqs amazon-cloudformation