AWS AmazonS3: Add IntAccessTiers to CloudWatch publishing CLI/Java examples
Summary
Added the Intelligent-Tiering access tier metrics configuration (IntAccessTiers with IsEnabled) to the JSON and Java code samples that enable the Storage Lens CloudWatch publishing option.
Security assessment
The change only extends metrics configuration examples for Storage Lens/CloudWatch publishing; it adds no authentication, encryption, or access-control behavior and describes no vulnerability.
Evidence
+ "IntAccessTiers": {
Diff
diff --git a/AmazonS3/latest/userguide/storage-lens-cloudwatch-enable-publish-option.md b/AmazonS3/latest/userguide/storage-lens-cloudwatch-enable-publish-option.md index 6f639dc..0e8a8d2 100644 --- a//AmazonS3/latest/userguide/storage-lens-cloudwatch-enable-publish-option.md +++ b//AmazonS3/latest/userguide/storage-lens-cloudwatch-enable-publish-option.md @@ -178,0 +179,3 @@ The following AWS CLI example enables the CloudWatch publishing option by using + "IntAccessTiers": { + "IsEnabled": true + }, @@ -218,0 +222 @@ The following AWS CLI example enables the CloudWatch publishing option by using + import com.amazonaws.services.s3control.model.IntAccessTiers; @@ -289,0 +294,3 @@ The following AWS CLI example enables the CloudWatch publishing option by using + IntAccessTiers intAccessTiers = new IntAccessTiers() + .withIsEnabled(true); + @@ -295,0 +303 @@ The following AWS CLI example enables the CloudWatch publishing option by using + .withIntAccessTiers(intAccessTiers)