Class: Aws::CognitoIdentityProvider::Types::LogConfigurationType

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-cognitoidentityprovider/types.rb

Overview

The logging parameters of a user pool.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#cloud_watch_logs_configurationTypes::CloudWatchLogsConfigurationType

The CloudWatch log group destination of user pool detailed activity logs, or of user activity log export with advanced security features.



6684
6685
6686
6687
6688
6689
6690
6691
6692
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 6684

class LogConfigurationType < Struct.new(
  :log_level,
  :event_source,
  :cloud_watch_logs_configuration,
  :s3_configuration,
  :firehose_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#event_sourceString

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 advanced security features user activity, set to `userAuthEvents`.

Returns:

  • (String)


6684
6685
6686
6687
6688
6689
6690
6691
6692
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 6684

class LogConfigurationType < Struct.new(
  :log_level,
  :event_source,
  :cloud_watch_logs_configuration,
  :s3_configuration,
  :firehose_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#firehose_configurationTypes::FirehoseConfigurationType

The Amazon Data Firehose stream destination of user activity log export with advanced security features. To activate this setting, [ advanced security features] must be active in your user pool.

[1]: docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pool-settings-advanced-security.html



6684
6685
6686
6687
6688
6689
6690
6691
6692
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 6684

class LogConfigurationType < Struct.new(
  :log_level,
  :event_source,
  :cloud_watch_logs_configuration,
  :s3_configuration,
  :firehose_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#log_levelString

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 advanced security features, choose `INFO` with one of `CloudWatchLogsConfiguration`, `FirehoseConfiguration`, or `S3Configuration`.

[1]: docs.aws.amazon.com/cognito/latest/developerguide/tracking-quotas-and-usage-in-cloud-watch-logs.html

Returns:

  • (String)


6684
6685
6686
6687
6688
6689
6690
6691
6692
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 6684

class LogConfigurationType < Struct.new(
  :log_level,
  :event_source,
  :cloud_watch_logs_configuration,
  :s3_configuration,
  :firehose_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#s3_configurationTypes::S3ConfigurationType

The Amazon S3 bucket destination of user activity log export with advanced security features. To activate this setting, [ advanced security features] must be active in your user pool.

[1]: docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pool-settings-advanced-security.html



6684
6685
6686
6687
6688
6689
6690
6691
6692
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 6684

class LogConfigurationType < Struct.new(
  :log_level,
  :event_source,
  :cloud_watch_logs_configuration,
  :s3_configuration,
  :firehose_configuration)
  SENSITIVE = []
  include Aws::Structure
end