AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::Cognito::LogDeliveryConfiguration

CfnLogDeliveryConfiguration

Sets up or modifies the logging configuration of a user pool. User pools can export user notification logs and, when threat protection is active, user-activity logs. For more information, see [Exporting user pool logs](https://docs.aws.amazon.com/cognito/latest/developerguide/exporting-quotas-and-usage.html) .

Import

import { CfnLogDeliveryConfiguration } from 'aws-cdk-lib/aws-cognito';

Or use the module namespace:

import * as cognito from 'aws-cdk-lib/aws-cognito';
// cognito.CfnLogDeliveryConfiguration

Properties

Configuration passed to the constructor as CfnLogDeliveryConfigurationProps.

userPoolIdRequired
string

The ID of the user pool where you configured logging.

logConfigurationsOptional
IResolvable | IResolvable | LogConfigurationProperty[]

A logging destination of a user pool. User pools can have multiple logging destinations for message-delivery and user-activity logs.

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Get the Amazon Cognito Cheat Sheet

Everything you need to know about Amazon Cognito on one page. HD quality, print-friendly.

Download Free Infographic