Greengrass V2 StreamManager S3 Export Access Denied

0

I'm trying to upload a file using StreamManager Export function. But the upload failed with 403 Access Denied error message shown below:

Enter image description here

I am aware of that StreamManager with S3 export requires the following policy, according to Greengrass V2 Developer Guide

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": [
        "s3:PutObject",
        "s3:AbortMultipartUpload",
        "s3:ListMultipartUploadParts"
      ],
      "Resource": [
        "arn:aws:s3:::bucket-1-name/*",
        "arn:aws:s3:::bucket-2-name/*"
      ]
    }
  ]
}

Here's a portion of my IAM policy for the GreengrassTokenExchangeRole which should cover the requirements above.

{
            "Action": [
                "s3:PutObject",
                "s3:PutObjectLegalHold",
                "s3:PutObjectRetention",
                "s3:PutObjectTagging",
                "s3:PutObjectVersionTagging",
                "s3:Abort*",
                "s3:List*"
            ],
            "Resource": "arn:aws:s3:::<my bucket name>/*",
            "Effect": "Allow"
},

Why did I still get access denied error?

ictwist
質問済み 1年前66ビュー
回答なし

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ