Class S3Encryption
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.glue.S3Encryption
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)",
date="2026-09-17T14:54:05.083Z")
@Stability(Stable)
public class S3Encryption
extends software.amazon.jsii.JsiiObject
S3 encryption configuration for a
SecurityConfiguration.
Use
for SSE-S3 or
invalid reference
S3Encryption.s3Managed
for
SSE-KMS. Because these are separate factories, a KMS key can never be paired
with S3-managed encryption.
invalid reference
S3Encryption.kms
Example:
SecurityConfiguration.Builder.create(this, "MySecurityConfiguration")
.cloudWatchEncryption(CloudWatchEncryption.kms())
.jobBookmarksEncryption(JobBookmarksEncryption.clientSideKms())
.s3Encryption(S3Encryption.kms())
.build();
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedS3Encryption(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedS3Encryption(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionstatic S3Encryptionkms()Server-side encryption (SSE) with an AWS KMS key managed by the account owner.static S3EncryptionServer-side encryption (SSE) with an AWS KMS key managed by the account owner.static S3EncryptionServer-side encryption (SSE) with an Amazon S3-managed key.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
S3Encryption
protected S3Encryption(software.amazon.jsii.JsiiObjectRef objRef) -
S3Encryption
protected S3Encryption(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
-
-
Method Details
-
kms
Server-side encryption (SSE) with an AWS KMS key managed by the account owner.- Parameters:
kmsKey- the KMS key used to encrypt the data.- See Also:
-
kms
Server-side encryption (SSE) with an AWS KMS key managed by the account owner.- See Also:
-
s3Managed
Server-side encryption (SSE) with an Amazon S3-managed key.- See Also:
-