Interface LogsEncryptionConfiguration.Builder

  • Method Details

    • encryptionStrategy

      LogsEncryptionConfiguration.Builder encryptionStrategy(String encryptionStrategy)

      Configuration that determines the encryption strategy of the destination log groups. CUSTOMER_MANAGED uses the configured KmsKeyArn to encrypt newly created destination log groups.

      Parameters:
      encryptionStrategy - Configuration that determines the encryption strategy of the destination log groups. CUSTOMER_MANAGED uses the configured KmsKeyArn to encrypt newly created destination log groups.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • encryptionStrategy

      LogsEncryptionConfiguration.Builder encryptionStrategy(EncryptionStrategy encryptionStrategy)

      Configuration that determines the encryption strategy of the destination log groups. CUSTOMER_MANAGED uses the configured KmsKeyArn to encrypt newly created destination log groups.

      Parameters:
      encryptionStrategy - Configuration that determines the encryption strategy of the destination log groups. CUSTOMER_MANAGED uses the configured KmsKeyArn to encrypt newly created destination log groups.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • kmsKeyArn

      KMS Key arn belonging to the primary destination account and region, to encrypt newly created central log groups in the primary destination.

      Parameters:
      kmsKeyArn - KMS Key arn belonging to the primary destination account and region, to encrypt newly created central log groups in the primary destination.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • encryptionConflictResolutionStrategy

      LogsEncryptionConfiguration.Builder encryptionConflictResolutionStrategy(String encryptionConflictResolutionStrategy)

      Conflict resolution strategy for centralization if the encryption strategy is set to CUSTOMER_MANAGED and the destination log group is encrypted with an AWS_OWNED KMS Key. ALLOW lets centralization go through while SKIP prevents centralization into the destination log group.

      Parameters:
      encryptionConflictResolutionStrategy - Conflict resolution strategy for centralization if the encryption strategy is set to CUSTOMER_MANAGED and the destination log group is encrypted with an AWS_OWNED KMS Key. ALLOW lets centralization go through while SKIP prevents centralization into the destination log group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • encryptionConflictResolutionStrategy

      LogsEncryptionConfiguration.Builder encryptionConflictResolutionStrategy(EncryptionConflictResolutionStrategy encryptionConflictResolutionStrategy)

      Conflict resolution strategy for centralization if the encryption strategy is set to CUSTOMER_MANAGED and the destination log group is encrypted with an AWS_OWNED KMS Key. ALLOW lets centralization go through while SKIP prevents centralization into the destination log group.

      Parameters:
      encryptionConflictResolutionStrategy - Conflict resolution strategy for centralization if the encryption strategy is set to CUSTOMER_MANAGED and the destination log group is encrypted with an AWS_OWNED KMS Key. ALLOW lets centralization go through while SKIP prevents centralization into the destination log group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: