我正在尝试在s3存储桶上创建一个事件,以便它将通知消息发送到SQS队列。但是,尝试在AWS控制台上的s3上保存事件时遇到以下错误:
无法验证以下目标配置。找不到KMS配置(arn:aws:sqs:xx-region-X:XXXXXXXXXXXXX:MySQS)。有人知道为什么会出现此错误消息吗?
队列的策略是:
{
"Version": "2012-10-17",
"Id": "arn:aws:sqs:xx-region-3: XXXXXXXXXXXXX: MySQS/SQSDefaultPolicy",
"Statement": [
{
"Sid": "my-ID",
"Effect": "Allow",
"Principal": {
"AWS": "arn:aws:iam:: XXXXXXXXXXXXX:root",
"Service": "s3.amazonaws.com"
},
"Action": "SQS:*",
"Resource": "arn:aws:sqs:xx-region-X:XXXXXXXXXXXXX:MySQS",
"Condition": {
"ArnLike": {
"aws:SourceArn": "arn:aws:s3:::bucketName”
}
}
}