interface LogConfigurationProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Cognito.CfnLogDeliveryConfiguration.LogConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awscognito#CfnLogDeliveryConfiguration_LogConfigurationProperty |
Java | software.amazon.awscdk.services.cognito.CfnLogDeliveryConfiguration.LogConfigurationProperty |
Python | aws_cdk.aws_cognito.CfnLogDeliveryConfiguration.LogConfigurationProperty |
TypeScript | aws-cdk-lib » aws_cognito » CfnLogDeliveryConfiguration » LogConfigurationProperty |
The logging parameters of a user pool.
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 logConfigurationProperty: cognito.CfnLogDeliveryConfiguration.LogConfigurationProperty = {
cloudWatchLogsConfiguration: {
logGroupArn: 'logGroupArn',
},
eventSource: 'eventSource',
logLevel: 'logLevel',
};
Properties
Name | Type | Description |
---|---|---|
cloud | IResolvable | Cloud | The CloudWatch logging destination of a user pool detailed activity logging configuration. |
event | string | The source of events that your user pool sends for detailed activity logging. |
log | string | The errorlevel selection of logs that a user pool sends for detailed activity logging. |
cloudWatchLogsConfiguration?
Type:
IResolvable
|
Cloud
(optional)
The CloudWatch logging destination of a user pool detailed activity logging configuration.
eventSource?
Type:
string
(optional)
The source of events that your user pool sends for detailed activity logging.
logLevel?
Type:
string
(optional)
The errorlevel
selection of logs that a user pool sends for detailed activity logging.