# CfnResolverRuleAssociationProps

Properties for defining a `CfnResolverRuleAssociation`.

Extends: CfnResolverRuleAssociationProps
Used as props by: CfnResolverRuleAssociation

- Source: Generated code
- Type last changed: v2.227.0 · 21 Nov 2025

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_route53resolver as route53resolver } from 'aws-cdk-lib';
const cfnResolverRuleAssociationProps: route53resolver.CfnResolverRuleAssociationProps = {
  resolverRuleId: 'resolverRuleId',
  vpcId: 'vpcId',

  // the properties below are optional
  name: 'name',
};
```

## Properties

- `name`: 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.

- `resolverRuleId`: string | [IResolverRuleRef](/cdk/api/v2/docs/aws-cdk-lib.interfaces.aws_route53resolver.IResolverRuleRef.html) (required) — The ID of the Resolver rule that you associated with the VPC that is specified by `VPCId` .

- `vpcId`: string | [IVPCRef](/cdk/api/v2/docs/aws-cdk-lib.interfaces.aws_ec2.IVPCRef.html) (required) — The ID of the VPC that you associated the Resolver rule with.
