Interface LogsEncryptionConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<LogsEncryptionConfiguration.Builder,,LogsEncryptionConfiguration> SdkBuilder<LogsEncryptionConfiguration.Builder,,LogsEncryptionConfiguration> SdkPojo
- Enclosing class:
LogsEncryptionConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionencryptionConflictResolutionStrategy(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.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.encryptionScope(String encryptionScope) Determines which newly created destination log groups are encrypted with the configuredKmsKeyArnwhenEncryptionStrategyisCUSTOMER_MANAGED.encryptionScope(EncryptionScope encryptionScope) Determines which newly created destination log groups are encrypted with the configuredKmsKeyArnwhenEncryptionStrategyisCUSTOMER_MANAGED.encryptionStrategy(String encryptionStrategy) Configuration that determines the encryption strategy of the destination log groups.encryptionStrategy(EncryptionStrategy encryptionStrategy) Configuration that determines the encryption strategy of the destination log groups.KMS 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.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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:
-
encryptionScope
Determines which newly created destination log groups are encrypted with the configured
KmsKeyArnwhenEncryptionStrategyisCUSTOMER_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 configuredKmsKeyArn. 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 configuredKmsKeyArn, regardless of the source log group's encryption posture.This field is not valid when
EncryptionStrategyisAWS_OWNED.- Parameters:
encryptionScope- Determines which newly created destination log groups are encrypted with the configuredKmsKeyArnwhenEncryptionStrategyisCUSTOMER_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 configuredKmsKeyArn. 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 configuredKmsKeyArn, regardless of the source log group's encryption posture.This field is not valid when
EncryptionStrategyisAWS_OWNED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
encryptionScope
Determines which newly created destination log groups are encrypted with the configured
KmsKeyArnwhenEncryptionStrategyisCUSTOMER_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 configuredKmsKeyArn. 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 configuredKmsKeyArn, regardless of the source log group's encryption posture.This field is not valid when
EncryptionStrategyisAWS_OWNED.- Parameters:
encryptionScope- Determines which newly created destination log groups are encrypted with the configuredKmsKeyArnwhenEncryptionStrategyisCUSTOMER_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 configuredKmsKeyArn. 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 configuredKmsKeyArn, regardless of the source log group's encryption posture.This field is not valid when
EncryptionStrategyisAWS_OWNED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-