Interface CfnLogDeliveryConfigurationPropsMixin.LogConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnLogDeliveryConfigurationPropsMixin.LogConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnLogDeliveryConfigurationPropsMixin
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.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
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnLogDeliveryConfigurationPropsMixin.LogConfigurationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectConfiguration for the CloudWatch log group destination of user pool detailed activity logging, or of user activity log export with advanced security features.default StringThe source of events that your user pool sends for logging.default ObjectConfiguration for the Amazon Data Firehose stream destination of user activity log export with threat protection.default StringTheerrorlevelselection of logs that a user pool sends for detailed activity logging.default ObjectConfiguration for the Amazon S3 bucket destination of user activity log export with threat protection.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.Returns union: either
IResolvableorCfnLogDeliveryConfigurationPropsMixin.CloudWatchLogsConfigurationProperty- 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 threat-protection user activity in user pools with the Plus feature plan, set touserAuthEvents.- See Also:
-
getFirehoseConfiguration
Configuration for the Amazon Data Firehose stream destination of user activity log export with threat protection.Returns union: either
IResolvableorCfnLogDeliveryConfigurationPropsMixin.FirehoseConfigurationProperty- See Also:
-
getLogLevel
Theerrorlevelselection of logs that a user pool sends for detailed activity logging.To send
userNotificationactivity with information about message delivery , chooseERRORwithCloudWatchLogsConfiguration. To senduserAuthEventsactivity with user logs from threat protection with the Plus feature plan, chooseINFOwith one ofCloudWatchLogsConfiguration,FirehoseConfiguration, orS3Configuration.- See Also:
-
getS3Configuration
Configuration for the Amazon S3 bucket destination of user activity log export with threat protection.Returns union: either
IResolvableorCfnLogDeliveryConfigurationPropsMixin.S3ConfigurationProperty- See Also:
-
builder
@Stability(Stable) static CfnLogDeliveryConfigurationPropsMixin.LogConfigurationProperty.Builder builder()
-