S3 Bucket Creation Restrict to Specific Name Pattern

0 votes
1

Is there a way to specify a bucket creation policy so that the a user with the assigned role can only create buckets with a specified name pattern such as company-dbbackup-* and no other name patterns?

For example, the user would be allowed to create bucket with names company-dbbackup-March2017 and company-dbbackup-fullarchive but not test-bucketname-invalid.
Mar 4 in Others by Edureka
• 9,320 points
36 views

1 answer to this question.

0 votes
For naming buckets in Amazon S3, the following requirements apply:
Bucket names must be three (minimum) to sixty-three (maximum) characters long.
Lowercase letters, numerals, dots (.) and hyphens are the only characters allowed in bucket names (-).
A letter or number must appear at the start and end of each bucket name.
The names of buckets must not be formatted in the form of an IP address (for example, 192.168.5.4).
The prefix xn— can't be used in bucket names.
The suffix -s3alias can't be used in bucket names. This suffix is only used in alias names for access points. Use a bucket-style alias for your access point for more details. Within a partition, bucket names have to be unique. A partition is a set of Regions that have been grouped together. AWS has three partitions at the moment: aws (Standard Regions), aws-cn (China Regions), and aws-us-gov (U.S. Government).
answered Mar 4 by Edureka
• 8,820 points

Related Questions In Others

0 votes
1 answer
0 votes
0 answers
0 votes
0 answers
0 votes
1 answer

AWS S3 uploading hidden files by default

versioning is enabled in your bucket. docs.aws.amazon.com/AmazonS3/latest/user-guide/….... the ...READ MORE

answered Oct 4, 2018 in AWS by Priyaj
• 58,060 points
3,184 views
–1 vote
1 answer

How to decrypt the encrypted S3 file using aws-encryption-cli --decrypt

Use command : aws s3 presign s3://mybucket/abc_count.png you get ...READ MORE

answered Oct 22, 2018 in AWS by Priyaj
• 58,060 points
3,483 views
0 votes
1 answer

Import my AWS credentials using python script

Using AWS Cli  Configure your IAM user then ...READ MORE

answered Nov 16, 2018 in AWS by Jino
• 5,800 points
1,874 views
0 votes
2 answers
0 votes
1 answer
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
Send OTP
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP