瀏覽代碼

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>
Quentin Klein 1 年之前
父節點
當前提交
574172d77d
共有 1 個文件被更改,包括 12 次插入0 次删除
  1. 12 0
      pages/common/aws-s3-rb.md

+ 12 - 0
pages/common/aws-s3-rb.md

@@ -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`