Resource: awsRoute53ResolverQueryLogConfigAssociation
Provides a Route 53 Resolver query logging configuration association resource.
Example Usage
/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as aws from "./.gen/providers/aws";
new aws.route53ResolverQueryLogConfigAssociation.Route53ResolverQueryLogConfigAssociation(
this,
"example",
{
resolverQueryLogConfigId:
"${aws_route53_resolver_query_log_config.example.id}",
resourceId: "${aws_vpc.example.id}",
}
);
Argument Reference
The following arguments are supported:
resolverQueryLogConfigId
- (Required) The ID of the Route 53 Resolver query logging configuration that you want to associate a VPC with.resourceId
- (Required) The ID of a VPC that you want this query logging configuration to log queries for.
Attributes Reference
In addition to all arguments above, the following attributes are exported:
id
-The ID of the Route 53 Resolver query logging configuration association.
Import
Route 53 Resolver query logging configuration associations can be imported using the Route 53 Resolver query logging configuration association ID, e.g.,