interface CfnLogDeliveryConfigurationProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Cognito.CfnLogDeliveryConfigurationProps |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awscognito#CfnLogDeliveryConfigurationProps |
![]() | software.amazon.awscdk.services.cognito.CfnLogDeliveryConfigurationProps |
![]() | aws_cdk.aws_cognito.CfnLogDeliveryConfigurationProps |
![]() | aws-cdk-lib » aws_cognito » CfnLogDeliveryConfigurationProps |
Properties for defining a CfnLogDeliveryConfiguration
.
Example
// 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
Name | Type | Description |
---|---|---|
user | string | The ID of the user pool where you configured logging. |
log | IResolvable | IResolvable | Log [] | A logging destination of a user pool. |
userPoolId
Type:
string
The ID of the user pool where you configured logging.
logConfigurations?
Type:
IResolvable
|
IResolvable
|
Log
[]
(optional)
A logging destination of a user pool.
User pools can have multiple logging destinations for message-delivery and user-activity logs.