AWS Security ChangesHomeSearch

AWS AmazonS3 documentation change

Service: AmazonS3 · 2025-04-16 · Documentation low

File: AmazonS3/latest/userguide/empty-bucket.md

Summary

Updated documentation to consistently specify 'general purpose bucket' instead of generic 'bucket' terminology, removed references to directory buckets in navigation steps, and adjusted related content

Security assessment

Changes focus on terminology clarification rather than addressing security vulnerabilities. The updates differentiate between general purpose and directory buckets but don't introduce new security features or address specific vulnerabilities. The CloudTrail section modification maintains existing security guidance without adding new protections.

Diff

diff --git a/AmazonS3/latest/userguide/empty-bucket.md b/AmazonS3/latest/userguide/empty-bucket.md
index bc38009a5..d31c5f364 100644
--- a//AmazonS3/latest/userguide/empty-bucket.md
+++ b//AmazonS3/latest/userguide/empty-bucket.md
@@ -5 +5 @@
-Emptying a bucket with AWS CloudTrail configured
+Emptying a general purpose bucket with AWS CloudTrail configured
@@ -7 +7 @@ Emptying a bucket with AWS CloudTrail configured
-# Emptying a bucket
+# Emptying a general purpose bucket
@@ -9 +9 @@ Emptying a bucket with AWS CloudTrail configured
-You can empty a bucket's contents using the Amazon S3 console, AWS SDKs, or AWS Command Line Interface (AWS CLI). When you empty a bucket, you delete all the objects, but you keep the bucket. After you empty a bucket, it cannot be undone. Objects added to the bucket while the empty bucket action is in progress might be deleted. All objects (including all object versions and delete markers) in the bucket must be deleted before the bucket itself can be deleted.
+You can empty a general purpose bucket's contents using the Amazon S3 console, AWS SDKs, or AWS Command Line Interface (AWS CLI). When you empty a general purpose bucket, you delete all the objects, but you keep the bucket. After you empty a bucket, it cannot be undone. Objects added to the bucket while the empty bucket action is in progress might be deleted. All objects (including all object versions and delete markers) in the bucket must be deleted before the bucket itself can be deleted.
@@ -11 +11 @@ You can empty a bucket's contents using the Amazon S3 console, AWS SDKs, or AWS
-When you empty a bucket that has S3 Versioning enabled or suspended, all versions of all the objects in the bucket are deleted. For more information, see [Working with objects in a versioning-enabled bucket](./manage-objects-versioned-bucket.html).
+When you empty a general purpose bucket that has S3 Versioning enabled or suspended, all versions of all the objects in the bucket are deleted. For more information, see [Working with objects in a versioning-enabled bucket](./manage-objects-versioned-bucket.html).
@@ -15 +15 @@ You can also specify a lifecycle configuration on a bucket to expire objects so
-You can use the Amazon S3 console to empty a bucket, which deletes all of the objects in the bucket without deleting the bucket. 
+You can use the Amazon S3 console to empty a general purpose bucket, which deletes all of the objects in the bucket without deleting the bucket. 
@@ -21 +21 @@ You can use the Amazon S3 console to empty a bucket, which deletes all of the ob
-  2. In the left navigation pane, choose **General purpose buckets** or **Directory buckets**.
+  2. In the left navigation pane, choose **General purpose buckets**.
@@ -32 +32 @@ You can use the Amazon S3 console to empty a bucket, which deletes all of the ob
-You can empty a bucket using the AWS CLI only if the bucket does not have Bucket Versioning enabled. If versioning is not enabled, you can use the `rm` (remove) AWS CLI command with the `--recursive` parameter to empty the bucket (or remove a subset of objects with a specific key name prefix). 
+You can empty a general purpose bucket using the AWS CLI only if the bucket does not have Bucket Versioning enabled. If versioning is not enabled, you can use the `rm` (remove) AWS CLI command with the `--recursive` parameter to empty the bucket (or remove a subset of objects with a specific key name prefix). 
@@ -50 +50 @@ You can't remove objects from a bucket that has versioning enabled. Amazon S3 ad
-You can use the AWS SDKs to empty a bucket or remove a subset of objects that have a specific key name prefix.
+You can use the AWS SDKs to empty a general purpose bucket or remove a subset of objects that have a specific key name prefix.
@@ -52 +52 @@ You can use the AWS SDKs to empty a bucket or remove a subset of objects that ha
-For an example of how to empty a bucket using AWS SDK for Java, see [Deleting a bucket](./delete-bucket.html). The code deletes all objects, regardless of whether the bucket has versioning enabled, and then it deletes the bucket. To just empty the bucket, make sure that you remove the statement that deletes the bucket. 
+For an example of how to empty a bucket using AWS SDK for Java, see [Deleting a general purpose bucket](./delete-bucket.html). The code deletes all objects, regardless of whether the bucket has versioning enabled, and then it deletes the bucket. To just empty the bucket, make sure that you remove the statement that deletes the bucket. 
@@ -56 +56 @@ For more information about using other AWS SDKs, see [Tools for Amazon Web Servi
-To empty a large bucket, we recommend that you use an S3 Lifecycle configuration rule. Lifecycle expiration is an asynchronous process, so the rule might take some days to run before the bucket is empty. After the first time that Amazon S3 runs the rule, all objects that are eligible for expiration are marked for deletion. You're no longer charged for those objects that are marked for deletion. For more information, see [How do I empty an Amazon S3 bucket using a lifecycle configuration rule?](https://repost.aws/knowledge-center/s3-empty-bucket-lifecycle-rule).
+To empty a large general purpose bucket, we recommend that you use an S3 Lifecycle configuration rule. Lifecycle expiration is an asynchronous process, so the rule might take some days to run before the bucket is empty. After the first time that Amazon S3 runs the rule, all objects that are eligible for expiration are marked for deletion. You're no longer charged for those objects that are marked for deletion. For more information, see [How do I empty an Amazon S3 bucket using a lifecycle configuration rule?](https://repost.aws/knowledge-center/s3-empty-bucket-lifecycle-rule).
@@ -66 +66 @@ For more information about using a lifecycle configuration to empty a bucket, se
-## Emptying a bucket with AWS CloudTrail configured
+## Emptying a general purpose bucket with AWS CloudTrail configured
@@ -68 +68 @@ For more information about using a lifecycle configuration to empty a bucket, se
-AWS CloudTrail tracks object-level data events in an Amazon S3 bucket, such as deleting objects. If you use a bucket as a destination to log your CloudTrail events and are deleting objects from that same bucket you may be creating new objects while emptying your bucket. To prevent this, stop your AWS CloudTrail trails. For more information about stopping your CloudTrail trails from logging events, see [Turning off logging for a trail](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-delete-trails-console.html) in the _AWS CloudTrail User Guide_.
+AWS CloudTrail tracks object-level data events in an Amazon S3 general purpose bucket, such as deleting objects. If you use a general purpose bucket as a destination to log your CloudTrail events and are deleting objects from that same bucket you may be creating new objects while emptying your bucket. To prevent this, stop your AWS CloudTrail trails. For more information about stopping your CloudTrail trails from logging events, see [Turning off logging for a trail](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-delete-trails-console.html) in the _AWS CloudTrail User Guide_.
@@ -80 +80 @@ Listing buckets
-Deleting a bucket
+Deleting a general purpose bucket