Skip to content
v2.274.0

CfnLogDeliveryConfigurationProps Struct ​

Properties for defining a CfnLogDeliveryConfiguration.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_cognito as cognito } from 'aws-cdk-lib';
const cfnLogDeliveryConfigurationProps: cognito.CfnLogDeliveryConfigurationProps = {
  userPoolId: 'userPoolId',

  // the properties below are optional
  logConfigurations: [{
    cloudWatchLogsConfiguration: {
      logGroupArn: 'logGroupArn',
    },
    eventSource: 'eventSource',
    firehoseConfiguration: {
      streamArn: 'streamArn',
    },
    logLevel: 'logLevel',
    s3Configuration: {
      bucketArn: 'bucketArn',
    },
  }],
};

Properties ​

logConfigurationsIResolvable | IResolvable | CfnLogDeliveryConfiguration.LogConfigurationProperty[]log_configurationstyping.Union[IResolvable, typing.List[typing.Union[IResolvable, LogConfigurationProperty]]]logConfigurationsIResolvableLogConfigurationsIResolvableLogConfigurationsinterface{}#
A logging destination of a user pool.

User pools can have multiple logging destinations for message-delivery and user-activity logs.

userPoolIdstringuser_pool_idstruserPoolIdStringUserPoolIdstringUserPoolId*stringrequired#
The ID of the user pool where you configured logging.