aws-s3-rb: add page (#10871)

* aws-s3: add rb page

* change tense of examples

* Remove trailing whitespace

* Update pages/common/aws-s3-rb.md

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

---------

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
pull/23/head
Quentin Klein 2023-10-15 09:45:26 +02:00 committed by GitHub
parent 3e53d171bd
commit 574172d77d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 0 deletions

12
pages/common/aws-s3-rb.md Normal file
View File

@ -0,0 +1,12 @@
# 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}} --force`