Skip to content
v2.278.0

QueryLoggingConfigProperty Struct ​

A complex type that contains information about a configuration for DNS query logging.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_route53 as route53 } from 'aws-cdk-lib';
const queryLoggingConfigProperty: route53.CfnHostedZone.QueryLoggingConfigProperty = {
  cloudWatchLogsLogGroupArn: 'cloudWatchLogsLogGroupArn',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_route53 as route53

query_logging_config_property = route53.CfnHostedZone.QueryLoggingConfigProperty(
    cloud_watch_logs_log_group_arn="cloudWatchLogsLogGroupArn"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.route53.*;

QueryLoggingConfigProperty queryLoggingConfigProperty = QueryLoggingConfigProperty.builder()
        .cloudWatchLogsLogGroupArn("cloudWatchLogsLogGroupArn")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Route53;

var queryLoggingConfigProperty = new QueryLoggingConfigProperty {
    CloudWatchLogsLogGroupArn = "cloudWatchLogsLogGroupArn"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

queryLoggingConfigProperty := &QueryLoggingConfigProperty{
	CloudWatchLogsLogGroupArn: jsii.String("cloudWatchLogsLogGroupArn"),
}

Properties ​

cloudWatchLogsLogGroupArnstringcloud_watch_logs_log_group_arnstrcloudWatchLogsLogGroupArnStringCloudWatchLogsLogGroupArnstringCloudWatchLogsLogGroupArn*string required #
The Amazon Resource Name (ARN) of the CloudWatch Logs log group that Amazon Route 53 is publishing logs to.