Interface CfnOrganizationCentralizationRule.LogsEncryptionConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnOrganizationCentralizationRule.LogsEncryptionConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnOrganizationCentralizationRule
@Stability(Stable)
public static interface CfnOrganizationCentralizationRule.LogsEncryptionConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
Configuration for encrypting centralized log groups.
This configuration is only applied to destination log groups for which the corresponding source log groups are encrypted using Customer Managed KMS Keys.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.observabilityadmin.*;
LogsEncryptionConfigurationProperty logsEncryptionConfigurationProperty = LogsEncryptionConfigurationProperty.builder()
.encryptionStrategy("encryptionStrategy")
// the properties below are optional
.encryptionConflictResolutionStrategy("encryptionConflictResolutionStrategy")
.kmsKeyArn("kmsKeyArn")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnOrganizationCentralizationRule.LogsEncryptionConfigurationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringConflict 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.Configuration that determines the encryption strategy of the destination log groups.default StringKMS Key ARN belonging to the primary destination account and region, to encrypt newly created central log groups in the primary destination.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getEncryptionStrategy
Configuration that determines the encryption strategy of the destination log groups.CUSTOMER_MANAGED uses the configured KmsKeyArn to encrypt newly created destination log groups.
- See Also:
-
getEncryptionConflictResolutionStrategy
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.
- See Also:
-
getKmsKeyArn
KMS Key ARN belonging to the primary destination account and region, to encrypt newly created central log groups in the primary destination.- See Also:
-
builder
@Stability(Stable) static CfnOrganizationCentralizationRule.LogsEncryptionConfigurationProperty.Builder builder()
-