Interface CfnBucket.ServerSideEncryptionRuleProperty

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

@Stability(Stable) public static interface CfnBucket.ServerSideEncryptionRuleProperty extends software.amazon.jsii.JsiiSerializable
Specifies the default server-side encryption configuration.

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.*;
 ServerSideEncryptionRuleProperty serverSideEncryptionRuleProperty = ServerSideEncryptionRuleProperty.builder()
         .bucketKeyEnabled(false)
         .serverSideEncryptionByDefault(ServerSideEncryptionByDefaultProperty.builder()
                 .sseAlgorithm("sseAlgorithm")
                 // the properties below are optional
                 .kmsMasterKeyId("kmsMasterKeyId")
                 .build())
         .build();
 

See Also: