Class CfnBucket.ServerSideEncryptionRuleProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnBucket.ServerSideEncryptionRuleProperty,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnBucket.ServerSideEncryptionRuleProperty
CfnBucket.ServerSideEncryptionRuleProperty-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.s3.CfnBucket.ServerSideEncryptionRuleProperty
CfnBucket.ServerSideEncryptionRuleProperty.Builder, CfnBucket.ServerSideEncryptionRuleProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnBucket.ServerSideEncryptionRuleProperty.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanfinal ObjectA 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.final ObjectSpecifies whether Amazon S3 should use an S3 Bucket Key with server-side encryption using KMS (SSE-KMS) for new objects in the bucket.final ObjectSpecifies the default server-side encryption to apply to new objects in the bucket.final inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theCfnBucket.ServerSideEncryptionRuleProperty.Builder.
-
-
Method Details
-
getBlockedEncryptionTypes
Description copied from interface:CfnBucket.ServerSideEncryptionRulePropertyA 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 .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) .
Returns union: either
IResolvableorCfnBucket.BlockedEncryptionTypesProperty- Specified by:
getBlockedEncryptionTypesin interfaceCfnBucket.ServerSideEncryptionRuleProperty- See Also:
-
getBucketKeyEnabled
Description copied from interface:CfnBucket.ServerSideEncryptionRulePropertySpecifies whether Amazon S3 should use an S3 Bucket Key with server-side encryption using KMS (SSE-KMS) for new objects in the bucket.Existing objects are not affected. Setting the
BucketKeyEnabledelement totruecauses Amazon S3 to use an S3 Bucket Key. By default, S3 Bucket Key is not enabled.For more information, see Amazon S3 Bucket Keys in the Amazon S3 User Guide .
Returns union: either
BooleanorIResolvable- Specified by:
getBucketKeyEnabledin interfaceCfnBucket.ServerSideEncryptionRuleProperty- See Also:
-
getServerSideEncryptionByDefault
Description copied from interface:CfnBucket.ServerSideEncryptionRulePropertySpecifies the default server-side encryption to apply to new objects in the bucket.If a PUT Object request doesn't specify any server-side encryption, this default encryption will be applied.
Returns union: either
IResolvableorCfnBucket.ServerSideEncryptionByDefaultProperty- Specified by:
getServerSideEncryptionByDefaultin interfaceCfnBucket.ServerSideEncryptionRuleProperty- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-