Class LogsKmsKey

java.lang.Object
com.cloudforgeci.api.observability.LogsKmsKey

public final class LogsKmsKey extends Object
Creates the customer-managed KMS key used to encrypt CloudWatch log groups.
  • Method Summary

    Modifier and Type
    Method
    Description
    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.

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 is RETAIN.