LogsEncryptionConfiguration
¶
Source code in docs_src/capo_observabilityadmin/types/logs_encryption_configuration.py
encryption_conflict_resolution_strategy
instance-attribute
¶
encryption_conflict_resolution_strategy: NotRequired[
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.
encryption_scope
instance-attribute
¶
encryption_scope: NotRequired[EncryptionScope]
Determines which newly created destination log groups are encrypted with the configured KmsKeyArn when EncryptionStrategy is CUSTOMER_MANAGED.
If you set this to ENCRYPTED_SOURCE_ONLY (the default), only destination log groups whose source log group is encrypted with a customer managed KMS key use the configured KmsKeyArn. Destination log groups derived from Amazon Web Services owned encrypted source log groups remain Amazon Web Services owned encrypted.
If you set this to NEW_DESTINATION_LOG_GROUPS, every new destination log group created by this rule uses the configured KmsKeyArn, regardless of the source log group's encryption posture.
This field is not valid when EncryptionStrategy is AWS_OWNED.
encryption_strategy
instance-attribute
¶
encryption_strategy: 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.
kms_key_arn
instance-attribute
¶
kms_key_arn: NotRequired[ResourceArn]
KMS Key ARN belonging to the primary destination account and region, to encrypt newly created central log groups in the primary destination.