AWS::Route53::QueryLoggingConfigResource Type definition for AWS::Route53::QueryLoggingConfig. Creates a configuration for DNS query logging, which publishes query logs for a public hosted zone to an Amazon CloudWatch Logs log group.
2 configurable properties. 2 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
CloudWatchLogsLogGroupArn | string | RequiredCreate-only |
HostedZoneId | string | RequiredCreate-only |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
Arn | string | The Amazon Resource Name (ARN) of the query logging configuration. |
Id | string | The ID that Amazon Route 53 assigns to the configuration for DNS query logging. |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::Route53::QueryLoggingConfig
Resources:
MyResource:
Type: AWS::Route53::QueryLoggingConfig
Properties:
HostedZoneId: "my-hostedzoneid"
CloudWatchLogsLogGroupArn: "arn:aws:service:region:account:resource"Permissions CloudFormation needs in your IAM role to manage this resource.
route53:CreateQueryLoggingConfigroute53:GetQueryLoggingConfigroute53:DeleteQueryLoggingConfigroute53:ListQueryLoggingConfigsEverything you need to know about Route53 on one page. HD quality, print-friendly.
Download Free InfographicArnThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
HostedZoneIdCloudWatchLogsLogGroupArn