CfnQueryLoggingConfigProps Struct
Properties for defining a CfnQueryLoggingConfig.
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 cfnQueryLoggingConfigProps: route53.CfnQueryLoggingConfigProps = {
cloudWatchLogsLogGroupArn: 'cloudWatchLogsLogGroupArn',
hostedZoneId: 'hostedZoneId',
};
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
cfn_query_logging_config_props = route53.CfnQueryLoggingConfigProps(
cloud_watch_logs_log_group_arn="cloudWatchLogsLogGroupArn",
hosted_zone_id="hostedZoneId"
)
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.*;
CfnQueryLoggingConfigProps cfnQueryLoggingConfigProps = CfnQueryLoggingConfigProps.builder()
.cloudWatchLogsLogGroupArn("cloudWatchLogsLogGroupArn")
.hostedZoneId("hostedZoneId")
.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 cfnQueryLoggingConfigProps = new CfnQueryLoggingConfigProps {
CloudWatchLogsLogGroupArn = "cloudWatchLogsLogGroupArn",
HostedZoneId = "hostedZoneId"
};
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"
cfnQueryLoggingConfigProps := &CfnQueryLoggingConfigProps{
CloudWatchLogsLogGroupArn: jsii.String("cloudWatchLogsLogGroupArn"),
HostedZoneId: jsii.String("hostedZoneId"),
}
Properties
cloudWatchLogsLogGroupArnstringcloud_watch_logs_log_group_arnstrcloudWatchLogsLogGroupArnStringCloudWatchLogsLogGroupArnstringCloudWatchLogsLogGroupArn*stringrequired#The Amazon Resource Name (ARN) of the CloudWatch Logs log group in us-east-1 that Amazon Route 53 publishes query logs to.
The ID of the public hosted zone that Amazon Route 53 logs queries for.