LogConfigurationType
The configuration of user event logs to an external AWS service like Amazon Data Firehose, Amazon S3, or Amazon CloudWatch Logs.
This data type is a request parameter of SetLogDeliveryConfiguration and a response parameter of GetLogDeliveryConfiguration.
Contents
- 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 touserAuthEvents.Type: String
Valid Values:
userNotification | userAuthEventsRequired: Yes
- LogLevel
-
The
errorlevelselection of logs that a user pool sends for detailed activity logging. To senduserNotificationactivity with information about message delivery, chooseERRORwithCloudWatchLogsConfiguration. To senduserAuthEventsactivity with user logs from threat protection with the Plus feature plan, chooseINFOwith one ofCloudWatchLogsConfiguration,FirehoseConfiguration, orS3Configuration.Type: String
Valid Values:
ERROR | INFORequired: Yes
- CloudWatchLogsConfiguration
-
The CloudWatch log group destination of user pool detailed activity logs, or of user activity log export with threat protection.
Type: CloudWatchLogsConfigurationType object
Required: No
- 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.
Type: FirehoseConfigurationType object
Required: No
- 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.
Type: S3ConfigurationType object
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: