Interface CfnLogDeliveryConfiguration.LogConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnLogDeliveryConfiguration.LogConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnLogDeliveryConfiguration
This data type is a request parameter of SetLogDeliveryConfiguration and a response parameter of GetLogDeliveryConfiguration .
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.cognito.*; LogConfigurationProperty logConfigurationProperty = LogConfigurationProperty.builder() .cloudWatchLogsConfiguration(CloudWatchLogsConfigurationProperty.builder() .logGroupArn("logGroupArn") .build()) .eventSource("eventSource") .firehoseConfiguration(FirehoseConfigurationProperty.builder() .streamArn("streamArn") .build()) .logLevel("logLevel") .s3Configuration(S3ConfigurationProperty.builder() .bucketArn("bucketArn") .build()) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnLogDeliveryConfiguration.LogConfigurationProperty
static final class
An implementation forCfnLogDeliveryConfiguration.LogConfigurationProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default Object
Configuration for the CloudWatch log group destination of user pool detailed activity logging, or of user activity log export with advanced security features.default String
The source of events that your user pool sends for logging.default Object
Configuration for the Amazon Data Firehose stream destination of user activity log export with advanced security features.default String
Theerrorlevel
selection of logs that a user pool sends for detailed activity logging.default Object
Configuration for the Amazon S3 bucket destination of user activity log export with advanced security features.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCloudWatchLogsConfiguration
Configuration for the CloudWatch log group destination of user pool detailed activity logging, or of user activity log export with advanced security features.This data type is a request parameter of SetLogDeliveryConfiguration and a response parameter of GetLogDeliveryConfiguration .
- See Also:
-
getEventSource
The source of events that your user pool sends for logging.To send error-level logs about user notification activity, set to
userNotification
. To send info-level logs about advanced security features user activity, set touserAuthEvents
.- See Also:
-
getFirehoseConfiguration
Configuration for the Amazon Data Firehose stream destination of user activity log export with advanced security features.- See Also:
-
getLogLevel
Theerrorlevel
selection of logs that a user pool sends for detailed activity logging.To send
userNotification
activity with information about message delivery , chooseERROR
withCloudWatchLogsConfiguration
. To senduserAuthEvents
activity with user logs from advanced security features, chooseINFO
with one ofCloudWatchLogsConfiguration
,FirehoseConfiguration
, orS3Configuration
.- See Also:
-
getS3Configuration
Configuration for the Amazon S3 bucket destination of user activity log export with advanced security features.- See Also:
-
builder
-