snippetbashTip
aws s3 rb — Delete an empty S3 bucket. More information: <https://docs.aws.amazon.com/cli/latest/reference/s3/rb
Viewed 0 times
aws s3 rbdeletecommandemptycliinformationbucketmore
Problem
How to use the
aws s3 rb command: Delete an empty S3 bucket. More information: <https://docs.aws.amazon.com/cli/latest/reference/s3/rb.html>.Solution
aws s3 rb — Delete an empty S3 bucket. More information: <https://docs.aws.amazon.com/cli/latest/reference/s3/rb.html>.Delete an empty S3 bucket:
aws s3 rb s3://{{bucket_name}}Force delete an S3 bucket and its non-versioned objects (will crash if versioned objects are present):
aws s3 rb s3://{{bucket_name}} --forceCode Snippets
Delete an empty S3 bucket
aws s3 rb s3://{{bucket_name}}Force delete an S3 bucket and its non-versioned objects (will crash if versioned objects are present)
aws s3 rb s3://{{bucket_name}} --forceContext
tldr-pages: common/aws s3 rb
Revisions (0)
No revisions yet.