AWS::Cognito::LogDeliveryConfiguration LogConfiguration - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

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:

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 to userAuthEvents.

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

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