Skip to content

/AWS1/CL_R5R=>ASSOCRESOLVERQUERYLOGCONFIG()

About AssociateResolverQueryLogConfig

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.

Method Signature

IMPORTING

Required arguments:

IV_RESOLVERQUERYLOGCONFIGID TYPE /AWS1/R5RRESOURCEID /AWS1/R5RRESOURCEID

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

IV_RESOURCEID TYPE /AWS1/R5RRESOURCEID /AWS1/R5RRESOURCEID

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.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_R5RASCRESOLVERQUERY01 /AWS1/CL_R5RASCRESOLVERQUERY01