Interface SourceLogsConfiguration.Builder

  • Method Details

    • logGroupSelectionCriteria

      SourceLogsConfiguration.Builder logGroupSelectionCriteria(String logGroupSelectionCriteria)

      The selection criteria that specifies which source log groups to centralize. The selection criteria uses the same format as OAM link filters.

      Parameters:
      logGroupSelectionCriteria - The selection criteria that specifies which source log groups to centralize. The selection criteria uses the same format as OAM link filters.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dataSourceSelectionCriteria

      SourceLogsConfiguration.Builder dataSourceSelectionCriteria(String dataSourceSelectionCriteria)

      The selection criteria that specifies which data sources to centralize. The selection criteria uses the same filter expression format as LogGroupSelectionCriteria, but operates on DataSourceName and DataSourceType operands. When both LogGroupSelectionCriteria and DataSourceSelectionCriteria are specified, a log event must match both criteria to be centralized.

      Parameters:
      dataSourceSelectionCriteria - The selection criteria that specifies which data sources to centralize. The selection criteria uses the same filter expression format as LogGroupSelectionCriteria, but operates on DataSourceName and DataSourceType operands. When both LogGroupSelectionCriteria and DataSourceSelectionCriteria are specified, a log event must match both criteria to be centralized.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • encryptedLogGroupStrategy

      SourceLogsConfiguration.Builder encryptedLogGroupStrategy(String encryptedLogGroupStrategy)

      A strategy determining whether to centralize source log groups that are encrypted with customer managed KMS keys (CMK). ALLOW will consider CMK encrypted source log groups for centralization while SKIP will skip CMK encrypted source log groups from centralization.

      Parameters:
      encryptedLogGroupStrategy - A strategy determining whether to centralize source log groups that are encrypted with customer managed KMS keys (CMK). ALLOW will consider CMK encrypted source log groups for centralization while SKIP will skip CMK encrypted source log groups from centralization.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • encryptedLogGroupStrategy

      SourceLogsConfiguration.Builder encryptedLogGroupStrategy(EncryptedLogGroupStrategy encryptedLogGroupStrategy)

      A strategy determining whether to centralize source log groups that are encrypted with customer managed KMS keys (CMK). ALLOW will consider CMK encrypted source log groups for centralization while SKIP will skip CMK encrypted source log groups from centralization.

      Parameters:
      encryptedLogGroupStrategy - A strategy determining whether to centralize source log groups that are encrypted with customer managed KMS keys (CMK). ALLOW will consider CMK encrypted source log groups for centralization while SKIP will skip CMK encrypted source log groups from centralization.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • centralizeWithDataProtection

      SourceLogsConfiguration.Builder centralizeWithDataProtection(String centralizeWithDataProtection)

      Specifies whether this centralization rule centralizes log events with data protection applied. If you don't specify this setting, or you set it to DISABLED, the rule centralizes the original log events, including any sensitive data that a data protection policy on the source log group masks.

      When you set this to ENABLED, the rule centralizes the same masked data that anyone in the source account without the logs:Unmask permission sees. The rule doesn't copy the original values to the destination, so you can't unmask them in the destination account. The rule centralizes log events from source log groups that don't have a data protection policy without changes.

      The setting applies only to log events that the rule centralizes after you enable it. It doesn't change log events that the rule already centralized.

      Parameters:
      centralizeWithDataProtection - Specifies whether this centralization rule centralizes log events with data protection applied. If you don't specify this setting, or you set it to DISABLED, the rule centralizes the original log events, including any sensitive data that a data protection policy on the source log group masks.

      When you set this to ENABLED, the rule centralizes the same masked data that anyone in the source account without the logs:Unmask permission sees. The rule doesn't copy the original values to the destination, so you can't unmask them in the destination account. The rule centralizes log events from source log groups that don't have a data protection policy without changes.

      The setting applies only to log events that the rule centralizes after you enable it. It doesn't change log events that the rule already centralized.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • centralizeWithDataProtection

      SourceLogsConfiguration.Builder centralizeWithDataProtection(CentralizeWithDataProtection centralizeWithDataProtection)

      Specifies whether this centralization rule centralizes log events with data protection applied. If you don't specify this setting, or you set it to DISABLED, the rule centralizes the original log events, including any sensitive data that a data protection policy on the source log group masks.

      When you set this to ENABLED, the rule centralizes the same masked data that anyone in the source account without the logs:Unmask permission sees. The rule doesn't copy the original values to the destination, so you can't unmask them in the destination account. The rule centralizes log events from source log groups that don't have a data protection policy without changes.

      The setting applies only to log events that the rule centralizes after you enable it. It doesn't change log events that the rule already centralized.

      Parameters:
      centralizeWithDataProtection - Specifies whether this centralization rule centralizes log events with data protection applied. If you don't specify this setting, or you set it to DISABLED, the rule centralizes the original log events, including any sensitive data that a data protection policy on the source log group masks.

      When you set this to ENABLED, the rule centralizes the same masked data that anyone in the source account without the logs:Unmask permission sees. The rule doesn't copy the original values to the destination, so you can't unmask them in the destination account. The rule centralizes log events from source log groups that don't have a data protection policy without changes.

      The setting applies only to log events that the rule centralizes after you enable it. It doesn't change log events that the rule already centralized.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: