Interface CloudWatchEncryption
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CloudWatchEncryption.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:42.528Z")
@Stability(Experimental)
public interface CloudWatchEncryption
extends software.amazon.jsii.JsiiSerializable
(experimental) CloudWatch Logs encryption configuration.
Example:
SecurityConfiguration.Builder.create(this, "MySecurityConfiguration") .securityConfigurationName("name") .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
-