Resource: awsRoute53ResolverRuleAssociation
Provides a Route53 Resolver rule association.
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.route53ResolverRuleAssociation.Route53ResolverRuleAssociation(
this,
"example",
{
resolverRuleId: "${aws_route53_resolver_rule.sys.id}",
vpcId: "${aws_vpc.foo.id}",
}
);
Argument Reference
The following arguments are supported:
resolverRuleId
- (Required) The ID of the resolver rule that you want to associate with the VPC.vpcId
- (Required) The ID of the VPC that you want to associate the resolver rule with.name
- (Optional) A name for the association that you're creating between a resolver rule and a VPC.
Attributes Reference
In addition to all arguments above, the following attributes are exported:
id
- The ID of the resolver rule association.
Import
Route53 Resolver rule associations can be imported using the id
, e.g.,