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

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

Overview

The configuration of user event logs to an external Amazon Web Services service like Amazon Data Firehose, Amazon S3, or Amazon CloudWatch Logs.

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 threat protection.



8147
8148
8149
8150
8151
8152
8153
8154
8155
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 8147

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 threat-protection user activity in user pools with the Plus feature plan, set to userAuthEvents.

Returns:

  • (String)


8147
8148
8149
8150
8151
8152
8153
8154
8155
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 8147

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 threat protection. To activate this setting, your user pool must be on the Plus tier.



8147
8148
8149
8150
8151
8152
8153
8154
8155
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 8147

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 threat protection with the Plus feature plan, choose INFO with one of CloudWatchLogsConfiguration, FirehoseConfiguration, or S3Configuration.

Returns:

  • (String)


8147
8148
8149
8150
8151
8152
8153
8154
8155
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 8147

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 threat protection. To activate this setting, your user pool must be on the Plus tier.



8147
8148
8149
8150
8151
8152
8153
8154
8155
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 8147

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