Learn R Programming

paws.networking (version 0.1.10)

route53resolver_associate_resolver_query_log_config: Associates an Amazon VPC with a specified query logging configuration

Description

Associates an Amazon VPC with a specified query logging configuration. Route 53 Resolver logs DNS queries that originate in all of the Amazon VPCs that are associated with a specified query logging configuration. To associate more than one VPC with a configuration, submit one AssociateResolverQueryLogConfig request for each VPC.

The VPCs that you associate with a query logging configuration must be in the same Region as the configuration.

To remove a VPC from a query logging configuration, see DisassociateResolverQueryLogConfig.

Usage

route53resolver_associate_resolver_query_log_config(
  ResolverQueryLogConfigId, ResourceId)

Arguments

ResolverQueryLogConfigId

[required] The ID of the query logging configuration that you want to associate a VPC with.

ResourceId

[required] The ID of an Amazon VPC that you want this query logging configuration to log queries for.

The VPCs and the query logging configuration must be in the same Region.

Request syntax

svc$associate_resolver_query_log_config(
  ResolverQueryLogConfigId = "string",
  ResourceId = "string"
)