1
我有这样的代码在cloudformation模板:Value属性事件必须在CloudFormation String类型的TopicConfigurations一个S3桶
"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
并且创建失败。 这是什么意思? 谢谢