AWS::Cognito::LogDeliveryConfiguration LogConfiguration
The configuration of user event logs to an external AWS service like Amazon Data Firehose, Amazon S3, or Amazon CloudWatch Logs.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "CloudWatchLogsConfiguration" :
CloudWatchLogsConfiguration
, "EventSource" :String
, "FirehoseConfiguration" :FirehoseConfiguration
, "LogLevel" :String
, "S3Configuration" :S3Configuration
}
YAML
CloudWatchLogsConfiguration:
CloudWatchLogsConfiguration
EventSource:String
FirehoseConfiguration:FirehoseConfiguration
LogLevel:String
S3Configuration:S3Configuration
Properties
CloudWatchLogsConfiguration
-
Configuration for the CloudWatch log group destination of user pool detailed activity logging, or of user activity log export with advanced security features.
Required: No
Type: CloudWatchLogsConfiguration
Update requires: No interruption
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
.Required: No
Type: String
Allowed values:
userNotification | userAuthEvents
Update requires: No interruption
FirehoseConfiguration
-
Configuration for the Amazon Data Firehose stream destination of user activity log export with threat protection.
Required: No
Type: FirehoseConfiguration
Update requires: No interruption
LogLevel
-
The
errorlevel
selection of logs that a user pool sends for detailed activity logging. To senduserNotification
activity with information about message delivery, chooseERROR
withCloudWatchLogsConfiguration
. To senduserAuthEvents
activity with user logs from threat protection with the Plus feature plan, chooseINFO
with one ofCloudWatchLogsConfiguration
,FirehoseConfiguration
, orS3Configuration
.Required: No
Type: String
Allowed values:
ERROR | INFO
Update requires: No interruption
S3Configuration
-
Configuration for the Amazon S3 bucket destination of user activity log export with threat protection.
Required: No
Type: S3Configuration
Update requires: No interruption