Class CfnResolverQueryLoggingConfig.Builder
java.lang.Object
software.amazon.awscdk.services.route53resolver.CfnResolverQueryLoggingConfig.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnResolverQueryLoggingConfig>
- Enclosing class:
CfnResolverQueryLoggingConfig
@Stability(Stable)
public static final class CfnResolverQueryLoggingConfig.Builder
extends Object
implements software.amazon.jsii.Builder<CfnResolverQueryLoggingConfig>
A fluent builder for
CfnResolverQueryLoggingConfig
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
destinationArn
(String destinationArn) The ARN of the resource that you want Resolver to send query logs: an Amazon S3 bucket, a CloudWatch Logs log group, or a Kinesis Data Firehose delivery stream.The name of the query logging configuration.
-
Method Details
-
create
@Stability(Stable) public static CfnResolverQueryLoggingConfig.Builder create(Construct scope, String id) - Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- Returns:
- a new instance of
CfnResolverQueryLoggingConfig.Builder
.
-
destinationArn
@Stability(Stable) public CfnResolverQueryLoggingConfig.Builder destinationArn(String destinationArn) The ARN of the resource that you want Resolver to send query logs: an Amazon S3 bucket, a CloudWatch Logs log group, or a Kinesis Data Firehose delivery stream.- Parameters:
destinationArn
- The ARN of the resource that you want Resolver to send query logs: an Amazon S3 bucket, a CloudWatch Logs log group, or a Kinesis Data Firehose delivery stream. This parameter is required.- Returns:
this
-
name
The name of the query logging configuration.- Parameters:
name
- The name of the query logging configuration. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnResolverQueryLoggingConfig>
- Returns:
- a newly built instance of
CfnResolverQueryLoggingConfig
.
-