AWS::Cognito::LogDeliveryConfiguration LogConfiguration
The configuration of user event logs to an external Amazon Web Services 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.
Syntax
To declare this entity in your Amazon 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.
This data type is a request parameter of SetLogDeliveryConfiguration and a response parameter of GetLogDeliveryConfiguration.
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 advanced security features.
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 advanced security features.
Required: No
Type: S3Configuration
Update requires: No interruption