Interface S3Encryption
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
S3Encryption.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-12-17T21:37:41.444Z")
@Stability(Experimental)
public interface S3Encryption
extends software.amazon.jsii.JsiiSerializable
(experimental) S3 encryption configuration.
Example:
SecurityConfiguration.Builder.create(this, "MySecurityConfiguration") .cloudWatchEncryption(CloudWatchEncryption.builder() .mode(CloudWatchEncryptionMode.KMS) .build()) .jobBookmarksEncryption(JobBookmarksEncryption.builder() .mode(JobBookmarksEncryptionMode.CLIENT_SIDE_KMS) .build()) .s3Encryption(S3Encryption.builder() .mode(S3EncryptionMode.KMS) .build()) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forS3Encryption
static final class
An implementation forS3Encryption
-
Method Summary
Modifier and TypeMethodDescriptionstatic S3Encryption.Builder
builder()
default IKey
(experimental) The KMS key to be used to encrypt the data.getMode()
(experimental) Encryption mode.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getMode
(experimental) Encryption mode. -
getKmsKey
(experimental) The KMS key to be used to encrypt the data.Default: no kms key if mode = S3_MANAGED. A key will be created if one is not provided and mode = KMS.
-
builder
- Returns:
- a
S3Encryption.Builder
ofS3Encryption
-