答案 0 :(得分:3)
S3 / SQS集成当前不支持使用FIFO队列,并且您的队列是FIFO队列。
AWS服务的以下功能目前与FIFO队列不兼容:
Amazon CloudWatch活动
Amazon S3事件通知
亚马逊SNS主题订阅
答案 1 :(得分:0)
您是否将此类政策附加到您的SQS队列?
{
"Version": "2008-10-17",
"Id": "example-ID",
"Statement": [
{
"Sid": "AllowS3ToPublishMessages",
"Effect": "Allow",
"Principal": {
"AWS": "*"
},
"Action": [
"SQS:SendMessage"
],
"Resource": "sqs-episource-arn",
"Condition": {
"ArnLike": {
"aws:SourceArn": "arn:aws:s3:*:*:your-bucket-name"
}
}
}
]
}
(将sqs-episource-arn
替换为EpisourceExp.fifo
和your-bucket-name
的完整ARN,其中包含S3存储桶的存储分区名称)