Class CfnLogDeliveryConfigurationPropsMixin.LogConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.cognito.CfnLogDeliveryConfigurationPropsMixin.LogConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLogDeliveryConfigurationPropsMixin.LogConfigurationProperty>
- Enclosing interface:
CfnLogDeliveryConfigurationPropsMixin.LogConfigurationProperty
@Stability(Stable)
public static final class CfnLogDeliveryConfigurationPropsMixin.LogConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLogDeliveryConfigurationPropsMixin.LogConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.cloudWatchLogsConfiguration(CfnLogDeliveryConfigurationPropsMixin.CloudWatchLogsConfigurationProperty cloudWatchLogsConfiguration) cloudWatchLogsConfiguration(IResolvable cloudWatchLogsConfiguration) eventSource(String eventSource) firehoseConfiguration(CfnLogDeliveryConfigurationPropsMixin.FirehoseConfigurationProperty firehoseConfiguration) firehoseConfiguration(IResolvable firehoseConfiguration) s3Configuration(IResolvable s3Configuration)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cloudWatchLogsConfiguration
@Stability(Stable) public CfnLogDeliveryConfigurationPropsMixin.LogConfigurationProperty.Builder cloudWatchLogsConfiguration(IResolvable cloudWatchLogsConfiguration) Sets the value ofCfnLogDeliveryConfigurationPropsMixin.LogConfigurationProperty.getCloudWatchLogsConfiguration()- Parameters:
cloudWatchLogsConfiguration- Configuration for the CloudWatch log group destination of user pool detailed activity logging, or of user activity log export with advanced security features.- Returns:
this
-
cloudWatchLogsConfiguration
@Stability(Stable) public CfnLogDeliveryConfigurationPropsMixin.LogConfigurationProperty.Builder cloudWatchLogsConfiguration(CfnLogDeliveryConfigurationPropsMixin.CloudWatchLogsConfigurationProperty cloudWatchLogsConfiguration) Sets the value ofCfnLogDeliveryConfigurationPropsMixin.LogConfigurationProperty.getCloudWatchLogsConfiguration()- Parameters:
cloudWatchLogsConfiguration- Configuration for the CloudWatch log group destination of user pool detailed activity logging, or of user activity log export with advanced security features.- Returns:
this
-
eventSource
@Stability(Stable) public CfnLogDeliveryConfigurationPropsMixin.LogConfigurationProperty.Builder eventSource(String eventSource) - Parameters:
eventSource- The source of events that your user pool sends for logging. To send error-level logs about user notification activity, set touserNotification. To send info-level logs about threat-protection user activity in user pools with the Plus feature plan, set touserAuthEvents.- Returns:
this
-
firehoseConfiguration
@Stability(Stable) public CfnLogDeliveryConfigurationPropsMixin.LogConfigurationProperty.Builder firehoseConfiguration(IResolvable firehoseConfiguration) Sets the value ofCfnLogDeliveryConfigurationPropsMixin.LogConfigurationProperty.getFirehoseConfiguration()- Parameters:
firehoseConfiguration- Configuration for the Amazon Data Firehose stream destination of user activity log export with threat protection.- Returns:
this
-
firehoseConfiguration
@Stability(Stable) public CfnLogDeliveryConfigurationPropsMixin.LogConfigurationProperty.Builder firehoseConfiguration(CfnLogDeliveryConfigurationPropsMixin.FirehoseConfigurationProperty firehoseConfiguration) Sets the value ofCfnLogDeliveryConfigurationPropsMixin.LogConfigurationProperty.getFirehoseConfiguration()- Parameters:
firehoseConfiguration- Configuration for the Amazon Data Firehose stream destination of user activity log export with threat protection.- Returns:
this
-
logLevel
@Stability(Stable) public CfnLogDeliveryConfigurationPropsMixin.LogConfigurationProperty.Builder logLevel(String logLevel) - Parameters:
logLevel- Theerrorlevelselection of logs that a user pool sends for detailed activity logging. To senduserNotificationactivity with information about message delivery , chooseERRORwithCloudWatchLogsConfiguration. To senduserAuthEventsactivity with user logs from threat protection with the Plus feature plan, chooseINFOwith one ofCloudWatchLogsConfiguration,FirehoseConfiguration, orS3Configuration.- Returns:
this
-
s3Configuration
@Stability(Stable) public CfnLogDeliveryConfigurationPropsMixin.LogConfigurationProperty.Builder s3Configuration(IResolvable s3Configuration) Sets the value ofCfnLogDeliveryConfigurationPropsMixin.LogConfigurationProperty.getS3Configuration()- Parameters:
s3Configuration- Configuration for the Amazon S3 bucket destination of user activity log export with threat protection.- Returns:
this
-
s3Configuration
@Stability(Stable) public CfnLogDeliveryConfigurationPropsMixin.LogConfigurationProperty.Builder s3Configuration(CfnLogDeliveryConfigurationPropsMixin.S3ConfigurationProperty s3Configuration) Sets the value ofCfnLogDeliveryConfigurationPropsMixin.LogConfigurationProperty.getS3Configuration()- Parameters:
s3Configuration- Configuration for the Amazon S3 bucket destination of user activity log export with threat protection.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnLogDeliveryConfigurationPropsMixin.LogConfigurationProperty>- Returns:
- a new instance of
CfnLogDeliveryConfigurationPropsMixin.LogConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-