Interface CloudWatchEncryption
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CloudWatchEncryption.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-22T02:24:11.547Z")
@Stability(Experimental)
public interface CloudWatchEncryption
extends software.amazon.jsii.JsiiSerializable
(experimental) CloudWatch Logs 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 forCloudWatchEncryption
static final class
An implementation forCloudWatchEncryption
-
Method Summary
Modifier and TypeMethodDescriptionstatic CloudWatchEncryption.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: A key will be created if one is not provided.
-
builder
- Returns:
- a
CloudWatchEncryption.Builder
ofCloudWatchEncryption
-