Interface CfnBucket.BlockedEncryptionTypesProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnBucket.BlockedEncryptionTypesProperty.Jsii$Proxy
Enclosing class:
CfnBucket

@Stability(Stable) public static interface CfnBucket.BlockedEncryptionTypesProperty extends software.amazon.jsii.JsiiSerializable
A bucket-level setting for Amazon S3 general purpose buckets used to prevent the upload of new objects encrypted with the specified server-side encryption type.

For example, blocking an encryption type will block PutObject , CopyObject , PostObject , multipart upload, and replication requests to the bucket for objects with the specified encryption type. However, you can continue to read and list any pre-existing objects already encrypted with the specified encryption type. For more information, see Blocking or unblocking SSE-C for a general purpose bucket .

This data type is used with the following actions:

You must have the s3:GetEncryptionConfiguration permission to view a bucket's encryption type.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.s3.*;
 BlockedEncryptionTypesProperty blockedEncryptionTypesProperty = BlockedEncryptionTypesProperty.builder()
         .encryptionType(List.of("encryptionType"))
         .build();
 

See Also: