AWS::Cognito::LogDeliveryConfigurationSets 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 { CfnLogDeliveryConfiguration } from 'aws-cdk-lib/aws-cognito';Or use the module namespace:
import * as cognito from 'aws-cdk-lib/aws-cognito';
// cognito.CfnLogDeliveryConfigurationConfiguration passed to the constructor as CfnLogDeliveryConfigurationProps.
userPoolIdRequiredstringThe ID of the user pool where you configured logging.
logConfigurationsOptionalIResolvable | IResolvable | LogConfigurationProperty[]A logging destination of a user pool. User pools can have multiple logging destinations for message-delivery and user-activity logs.
This L1 construct maps directly to the following CloudFormation resource type.
Everything you need to know about Amazon Cognito on one page. HD quality, print-friendly.
Download Free Infographicaws-cognitoAWS::Cognito::LogDeliveryConfiguration