AWS::Route53::QueryLoggingConfig

Route53 QueryLoggingConfig

Resource 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.

Properties

2 configurable properties. 2 required. Click a row to see details.

Filter:
PropertyTypeFlags
CloudWatchLogsLogGroupArn
string
RequiredCreate-only
HostedZoneId
string
RequiredCreate-only

Return Values

Values returned after the resource is created. Access these with Fn::GetAtt.

AttributeTypeDescription
ArnstringThe Amazon Resource Name (ARN) of the query logging configuration.
IdstringThe ID that Amazon Route 53 assigns to the configuration for DNS query logging.

Sample CloudFormation Template

A minimal template with required properties and common optional ones.

template.yaml
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"

Required IAM Permissions

Permissions CloudFormation needs in your IAM role to manage this resource.

create

route53:CreateQueryLoggingConfig

read

route53:GetQueryLoggingConfig

delete

route53:DeleteQueryLoggingConfig

list

route53:ListQueryLoggingConfigs

Get the Route53 Cheat Sheet

Everything you need to know about Route53 on one page. HD quality, print-friendly.

Download Free Infographic

Quick Facts

ServiceRoute53
Properties4
Required2
TaggingNot supported
Primary IDArn

Supported Operations

CreateReadDeleteList

Immutable After Creation

These properties cannot be changed after the resource is created. Updating them triggers a replacement.

HostedZoneIdCloudWatchLogsLogGroupArn

External Links