AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::Route53Resolver::ResolverRuleAssociation

CfnResolverRuleAssociation

In the response to an [AssociateResolverRule](https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_AssociateResolverRule.html) , [DisassociateResolverRule](https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_DisassociateResolverRule.html) , or [ListResolverRuleAssociations](https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_ListResolverRuleAssociations.html) request, provides information about an association between a resolver rule and a VPC. The association determines which DNS queries that originate in the VPC are forwarded to your network.

Import

import { CfnResolverRuleAssociation } from 'aws-cdk-lib/aws-route53resolver';

Or use the module namespace:

import * as route53resolver from 'aws-cdk-lib/aws-route53resolver';
// route53resolver.CfnResolverRuleAssociation

Properties

Configuration passed to the constructor as CfnResolverRuleAssociationProps.

resolverRuleIdRequired
string | IResolverRuleRef

The ID of the Resolver rule that you associated with the VPC that is specified by `VPCId` .

vpcIdRequired
string | IVPCRef

The ID of the VPC that you associated the Resolver rule with.

nameOptional
string

The name of an association between a Resolver rule and a VPC. The name can be up to 64 characters long and can contain letters (a-z, A-Z), numbers (0-9), hyphens (-), underscores (_), and spaces. The name cannot consist of only numbers.

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter