Interface LogConfigurationType.Builder

    • Method Detail

      • logLevel

        LogConfigurationType.Builder logLevel​(String logLevel)

        The errorlevel selection of logs that a user pool sends for detailed activity logging. To send userNotification activity with information about message delivery, choose ERROR with CloudWatchLogsConfiguration. To send userAuthEvents activity with user logs from threat protection with the Plus feature plan, choose INFO with one of CloudWatchLogsConfiguration, FirehoseConfiguration, or S3Configuration.

        Parameters:
        logLevel - The errorlevel selection of logs that a user pool sends for detailed activity logging. To send userNotification activity with information about message delivery, choose ERROR with CloudWatchLogsConfiguration. To send userAuthEvents activity with user logs from threat protection with the Plus feature plan, choose INFO with one of CloudWatchLogsConfiguration, FirehoseConfiguration, or S3Configuration.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        LogLevel, LogLevel
      • logLevel

        LogConfigurationType.Builder logLevel​(LogLevel logLevel)

        The errorlevel selection of logs that a user pool sends for detailed activity logging. To send userNotification activity with information about message delivery, choose ERROR with CloudWatchLogsConfiguration. To send userAuthEvents activity with user logs from threat protection with the Plus feature plan, choose INFO with one of CloudWatchLogsConfiguration, FirehoseConfiguration, or S3Configuration.

        Parameters:
        logLevel - The errorlevel selection of logs that a user pool sends for detailed activity logging. To send userNotification activity with information about message delivery, choose ERROR with CloudWatchLogsConfiguration. To send userAuthEvents activity with user logs from threat protection with the Plus feature plan, choose INFO with one of CloudWatchLogsConfiguration, FirehoseConfiguration, or S3Configuration.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        LogLevel, LogLevel
      • eventSource

        LogConfigurationType.Builder eventSource​(String eventSource)

        The source of events that your user pool sends for logging. To send error-level logs about user notification activity, set to userNotification. To send info-level logs about threat-protection user activity in user pools with the Plus feature plan, set to userAuthEvents.

        Parameters:
        eventSource - The source of events that your user pool sends for logging. To send error-level logs about user notification activity, set to userNotification. To send info-level logs about threat-protection user activity in user pools with the Plus feature plan, set to userAuthEvents.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        EventSourceName, EventSourceName
      • eventSource

        LogConfigurationType.Builder eventSource​(EventSourceName eventSource)

        The source of events that your user pool sends for logging. To send error-level logs about user notification activity, set to userNotification. To send info-level logs about threat-protection user activity in user pools with the Plus feature plan, set to userAuthEvents.

        Parameters:
        eventSource - The source of events that your user pool sends for logging. To send error-level logs about user notification activity, set to userNotification. To send info-level logs about threat-protection user activity in user pools with the Plus feature plan, set to userAuthEvents.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        EventSourceName, EventSourceName
      • cloudWatchLogsConfiguration

        LogConfigurationType.Builder cloudWatchLogsConfiguration​(CloudWatchLogsConfigurationType cloudWatchLogsConfiguration)

        The CloudWatch log group destination of user pool detailed activity logs, or of user activity log export with threat protection.

        Parameters:
        cloudWatchLogsConfiguration - The CloudWatch log group destination of user pool detailed activity logs, or of user activity log export with threat protection.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • s3Configuration

        LogConfigurationType.Builder s3Configuration​(S3ConfigurationType s3Configuration)

        The Amazon S3 bucket destination of user activity log export with threat protection. To activate this setting, your user pool must be on the Plus tier.

        Parameters:
        s3Configuration - The Amazon S3 bucket destination of user activity log export with threat protection. To activate this setting, your user pool must be on the Plus tier.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • firehoseConfiguration

        LogConfigurationType.Builder firehoseConfiguration​(FirehoseConfigurationType firehoseConfiguration)

        The Amazon Data Firehose stream destination of user activity log export with threat protection. To activate this setting, your user pool must be on the Plus tier.

        Parameters:
        firehoseConfiguration - The Amazon Data Firehose stream destination of user activity log export with threat protection. To activate this setting, your user pool must be on the Plus tier.
        Returns:
        Returns a reference to this object so that method calls can be chained together.