Class LogsKmsKey
java.lang.Object
com.cloudforgeci.api.observability.LogsKmsKey
Creates the customer-managed KMS key used to encrypt CloudWatch log groups.
-
Method Summary
Modifier and TypeMethodDescriptionstatic software.amazon.awscdk.services.kms.Keycreate(software.constructs.Construct scope, String id, String description, software.amazon.awscdk.RemovalPolicy logRemovalPolicy) Creates a key with rotation enabled and a policy statement that lets the CloudWatch Logs service use it.
-
Method Details
-
create
public static software.amazon.awscdk.services.kms.Key create(software.constructs.Construct scope, String id, String description, software.amazon.awscdk.RemovalPolicy logRemovalPolicy) Creates a key with rotation enabled and a policy statement that lets the CloudWatch Logs service use it. The key is retained only when the log removal policy isRETAIN.
-