This is the new AWS CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.
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:CloudWatchLogsConfigurationEventSource:StringFirehoseConfiguration:FirehoseConfigurationLogLevel:StringS3Configuration: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 | userAuthEventsUpdate 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
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.Required: No
Type: String
Allowed values:
ERROR | INFOUpdate 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