# CfnRouteServerAssociationProps

Properties for defining a `CfnRouteServerAssociation`.

- Source: Generated code
- Type last changed: v2.188.0 · 4 Apr 2025

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ec2 as ec2 } from 'aws-cdk-lib';
const cfnRouteServerAssociationProps: ec2.CfnRouteServerAssociationProps = {
  routeServerId: 'routeServerId',
  vpcId: 'vpcId',
};
```

## Properties

- `routeServerId`: string (required) — The ID of the associated route server.

- `vpcId`: string (required) — The ID of the associated VPC.

## Used as props by

- [`CfnRouteServerAssociation`](/v2/docs/aws-cdk-lib.aws_ec2.CfnRouteServerAssociation)
