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
associate_resolver_query_log_config
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
disassociate_resolver_query_log_config
.
route53resolver_associate_resolver_query_log_config(
ResolverQueryLogConfigId, ResourceId)
[required] The ID of the query logging configuration that you want to associate a VPC with.
[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.
A list with the following syntax:
list( ResolverQueryLogConfigAssociation = list( Id = "string", ResolverQueryLogConfigId = "string", ResourceId = "string", Status = "CREATING"|"ACTIVE"|"ACTION_NEEDED"|"DELETING"|"FAILED", Error = "NONE"|"DESTINATION_NOT_FOUND"|"ACCESS_DENIED"|"INTERNAL_SERVICE_ERROR", ErrorMessage = "string", CreationTime = "string" ) )
svc$associate_resolver_query_log_config( ResolverQueryLogConfigId = "string", ResourceId = "string" )