Class CfnLogDeliveryConfiguration.CloudWatchLogsConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.cognito.CfnLogDeliveryConfiguration.CloudWatchLogsConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLogDeliveryConfiguration.CloudWatchLogsConfigurationProperty>
- Enclosing interface:
CfnLogDeliveryConfiguration.CloudWatchLogsConfigurationProperty
@Stability(Stable)
public static final class CfnLogDeliveryConfiguration.CloudWatchLogsConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLogDeliveryConfiguration.CloudWatchLogsConfigurationProperty>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.logGroupArn
(String logGroupArn)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
logGroupArn
@Stability(Stable) public CfnLogDeliveryConfiguration.CloudWatchLogsConfigurationProperty.Builder logGroupArn(String logGroupArn) - Parameters:
logGroupArn
- The Amazon Resource Name (arn) of a CloudWatch Logs log group where your user pool sends logs. The log group must not be encrypted with AWS Key Management Service and must be in the same AWS account as your user pool.To send logs to log groups with a resource policy of a size greater than 5120 characters, configure a log group with a path that starts with
/aws/vendedlogs
. For more information, see Enabling logging from certain AWS services .- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnLogDeliveryConfiguration.CloudWatchLogsConfigurationProperty>
- Returns:
- a new instance of
CfnLogDeliveryConfiguration.CloudWatchLogsConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-