有没有办法在S3存储桶策略中包含组织ID

时间:2020-05-21 14:48:15

标签: amazon-s3 amazon-iam

我有一个存储桶策略。下面的代码段。我想使用组织ID,而不是放置组织的所有帐户ID。有可能吗?

"Sid": "Stmt458754545842",
            "Effect": "Allow",
            "Principal": {
                "Service": "ssm.amazonaws.com"
            },
            "Action": "s3:PutObject",
            "Resource": [
                "arn:aws:s3:::cgna.inventory.resource.data.sync/*/accountid=123456789120/*",
                "arn:aws:s3:::cgna.inventory.resource.data.sync/*/accountid=123145789415/*"

0 个答案:

没有答案