IAM for S3 Resources
Bucket Name and Object Key Specified
The following ARN identifies the
/developers/design_info.docobject in theexamplebucketbucket.arn:aws:s3:::examplebucket/developers/design_info.doc
Wildcards
You can use wildcards as part of the resource ARN.
You can use wildcard characters (
*and?) within any ARN segment (the parts separated by colons).
Examples of Wildcards
The following ARN uses the wildcard
*in the relative-ID part of the ARN to identify all objects in theexamplebucketbucket.arn:aws:s3:::examplebucket/*
The following ARN uses
*to indicate all S3 resources (all S3 buckets and objects in your account).arn:aws:s3:::*
The following ARN uses both wildcards,
*and?, in therelative-IDpart. It identifies all objects in buckets such asexample1bucket,example2bucket,example3bucket, and so on.arn:aws:s3:::example?bucket/*
Last updated
Was this helpful?