Interface CfnBucket.BlockedEncryptionTypesProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnBucket.BlockedEncryptionTypesProperty.Jsii$Proxy
- Enclosing class:
CfnBucket
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:
- PutBucketEncryption
- GetBucketEncryption
- DeleteBucketEncryption
- Permissions - You must have the
s3:PutEncryptionConfigurationpermission to block or unblock an encryption type for a bucket.
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:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnBucket.BlockedEncryptionTypesPropertystatic final classAn implementation forCfnBucket.BlockedEncryptionTypesProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()The object encryption type that you want to block or unblock for an Amazon S3 general purpose bucket.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getEncryptionType
The object encryption type that you want to block or unblock for an Amazon S3 general purpose bucket.Currently, this parameter only supports blocking or unblocking server side encryption with customer-provided keys (SSE-C). For more information about SSE-C, see Using server-side encryption with customer-provided keys (SSE-C) .
- See Also:
-
builder
-