Created
August 19, 2022 14:45
-
-
Save ilyesAj/b9d909cba8ed578de9aaedd7d4f6119a to your computer and use it in GitHub Desktop.
Revisions
-
ilyesAj created this gist
Aug 19, 2022 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,20 @@ { "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Principal": { "AWS": "arn:aws:iam::Account-B:user/s3-cross-account" }, "Action": [ "s3:GetObject", "s3:PutObject", "s3:RestoreObject" ], "Resource": [ "arn:aws:s3:::bucket-B", "arn:aws:s3:::bucket-B/*" ] } ] }