AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::Route53Resolver::ResolverQueryLoggingConfigAssociation

CfnResolverQueryLoggingConfigAssociation

The AWS::Route53Resolver::ResolverQueryLoggingConfigAssociation resource is a configuration for DNS query logging. After you create a query logging configuration, Amazon Route 53 begins to publish log data to an Amazon CloudWatch Logs log group.

Import

import { CfnResolverQueryLoggingConfigAssociation } from 'aws-cdk-lib/aws-route53resolver';

Or use the module namespace:

import * as route53resolver from 'aws-cdk-lib/aws-route53resolver';
// route53resolver.CfnResolverQueryLoggingConfigAssociation

Properties

Configuration passed to the constructor as CfnResolverQueryLoggingConfigAssociationProps.

resolverQueryLogConfigIdOptional
string | IResolverQueryLoggingConfigRef

The ID of the query logging configuration that a VPC is associated with.

resourceIdOptional
string | IVPCRef

The ID of the Amazon VPC that is associated with the query logging configuration.

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter