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(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- 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
- See Also:
-
name
The name of the query logging configuration.- Parameters:
name
- The name of the query logging configuration. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnResolverQueryLoggingConfig>
- Returns:
- a newly built instance of
CfnResolverQueryLoggingConfig
.
-