# CfnVpcLinkProps

Properties for defining a `CfnVpcLink`.

Extends: CfnVpcLinkProps
Used as props by: CfnVpcLink

- 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_apigatewayv2 as apigatewayv2 } from 'aws-cdk-lib';
const cfnVpcLinkProps: apigatewayv2.CfnVpcLinkProps = {
  name: 'name',
  subnetIds: ['subnetIds'],

  // the properties below are optional
  securityGroupIds: ['securityGroupIds'],
  tags: {
    tagsKey: 'tags',
  },
};
```

## Properties

- `name`: string (required) — The name of the VPC link.

- `securityGroupIds`: string | [ISecurityGroupRef](/cdk/api/v2/docs/aws-cdk-lib.interfaces.aws_ec2.ISecurityGroupRef.html)[] — A list of security group IDs for the VPC link.

- `subnetIds`: string | [ISubnetRef](/cdk/api/v2/docs/aws-cdk-lib.interfaces.aws_ec2.ISubnetRef.html)[] (required) — A list of subnet IDs to include in the VPC link.

- `tags`: { [key: string]: string } — The collection of tags.

  Each tag element is associated with a given resource.
