Class CfnOrganizationCentralizationRulePropsMixin.LogsEncryptionConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.observabilityadmin.CfnOrganizationCentralizationRulePropsMixin.LogsEncryptionConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnOrganizationCentralizationRulePropsMixin.LogsEncryptionConfigurationProperty>
- Enclosing interface:
CfnOrganizationCentralizationRulePropsMixin.LogsEncryptionConfigurationProperty
@Stability(Stable)
public static final class CfnOrganizationCentralizationRulePropsMixin.LogsEncryptionConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnOrganizationCentralizationRulePropsMixin.LogsEncryptionConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.encryptionConflictResolutionStrategy(String encryptionConflictResolutionStrategy) encryptionStrategy(String encryptionStrategy)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
encryptionConflictResolutionStrategy
@Stability(Stable) public CfnOrganizationCentralizationRulePropsMixin.LogsEncryptionConfigurationProperty.Builder encryptionConflictResolutionStrategy(String encryptionConflictResolutionStrategy) Sets the value ofCfnOrganizationCentralizationRulePropsMixin.LogsEncryptionConfigurationProperty.getEncryptionConflictResolutionStrategy()- 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:
this
-
encryptionStrategy
@Stability(Stable) public CfnOrganizationCentralizationRulePropsMixin.LogsEncryptionConfigurationProperty.Builder encryptionStrategy(String encryptionStrategy) Sets the value ofCfnOrganizationCentralizationRulePropsMixin.LogsEncryptionConfigurationProperty.getEncryptionStrategy()- 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:
this
-
kmsKeyArn
@Stability(Stable) public CfnOrganizationCentralizationRulePropsMixin.LogsEncryptionConfigurationProperty.Builder kmsKeyArn(String kmsKeyArn) Sets the value ofCfnOrganizationCentralizationRulePropsMixin.LogsEncryptionConfigurationProperty.getKmsKeyArn()- 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:
this
-
build
@Stability(Stable) public CfnOrganizationCentralizationRulePropsMixin.LogsEncryptionConfigurationProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnOrganizationCentralizationRulePropsMixin.LogsEncryptionConfigurationProperty>- Returns:
- a new instance of
CfnOrganizationCentralizationRulePropsMixin.LogsEncryptionConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-