---
layout: "aws"
page_title: "AWS: aws_api_gateway_vpc_link"
sidebar_current: "docs-aws_api_gateway_vpc_link"
description: |-
  Get information on a API Gateway VPC Link
---

# Data Source: aws_api_gateway_vpc_link

Use this data source to get the id and target arns of a VPC Link in
API Gateway. To fetch the VPC Link you must provide a name to match against. 
As there is no unique name constraint on API Gateway VPC Links this data source will 
error if there is more than one match.

## Example Usage

```hcl
data "aws_api_gateway_vpc_link" "my_api_gateway_vpc_link" {
  name = "my-vpc-link"
}
```

## Argument Reference

 * `name` - (Required) The name of the API Gateway VPC Link to look up. If no API Gateway VPC Link is found with this name, an error will be returned. 
 If multiple API Gateway VPC Links are found with this name, an error will be returned.

## Attributes Reference

 * `id` - Set to the ID of the found API Gateway VPC Link.

---
layout: "aws"
page_title: "AWS: aws_api_gateway_vpc_link"
sidebar_current: "docs-aws_api_gateway_vpc_link"
description: |-
  Get information on a API Gateway VPC Link
---

# Data Source: aws_api_gateway_vpc_link

Use this data source to get the id of a VPC Link in
API Gateway. To fetch the VPC Link you must provide a name to match against. 
As there is no unique name constraint on API Gateway VPC Links this data source will 
error if there is more than one match.

## Example Usage

```hcl
data "aws_api_gateway_vpc_link" "my_api_gateway_vpc_link" {
  name = "my-vpc-link"
}
```

## Argument Reference

 * `name` - (Required) The name of the API Gateway VPC Link to look up. If no API Gateway VPC Link is found with this name, an error will be returned. 
 If multiple API Gateway VPC Links are found with this name, an error will be returned.

## Attributes Reference

 * `id` - Set to the ID of the found API Gateway VPC Link.

Remove wrong info from documentation
Remove wrong info from documentation
