cur*_*eer 1 amazon-web-services amazon-sns
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Principal": {
"AWS": "*"
},
"Action": "SNS:Subscribe",
"Resource": "arn:aws:sns:*:*:test-pipeline"
},
{
"Effect": "Allow",
"Principal": {
"AWS": "*"
},
"Action": "SNS:Publish",
"Resource": "arn:aws:sns:*:*:test-pipeline"
}
]
}
Run Code Online (Sandbox Code Playgroud)
我不知道为什么我收到错误
Error code: InvalidParameter - Error message: An error occurred while setting the attribute access policy. Invalid parameter: Every policy statement must have a unique ID
Run Code Online (Sandbox Code Playgroud)
ID不是强制性的,当我在数组中只有一个块时,它就可以工作
| 归档时间: |
|
| 查看次数: |
2278 次 |
| 最近记录: |