---
title: "GET /api/v1/providers/aws/{dc}/vpcs"
method: GET
path: "/api/v1/providers/aws/{dc}/vpcs"
tags: ["aws"]
---

# GET /api/v1/providers/aws/{dc}/vpcs

`GET /api/v1/providers/aws/{dc}/vpcs`

## Request

- The document declares no server URL.
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/kubermatic/apis/kubermatic-kubernetes-platform-api/docs/api/v1/providers/aws/:dc/vpcs/get.ts> (a function with typed inputs; its response is checked against the schema)

Lists available AWS vpc's

## Path parameters

- `dc` string, required

## Headers

- `AccessKeyID` string
- `SecretAccessKey` string
- `Credential` string

## Response `200`

AWSVPCList

- AWSVPC[]
  - `cidrBlock` string: The primary IPv4 CIDR block for the VPC.
  - `cidrBlockAssociationSet` AWSVpcCidrBlockAssociation[]: Information about the IPv4 CIDR blocks associated with the VPC.
    - `associationId` string: The association ID for the IPv4 CIDR block.
    - `cidrBlock` string: The IPv4 CIDR block.
    - `state` string: The state of the CIDR block.
    - `statusMessage` string: A message about the status of the CIDR block, if applicable.
  - `dhcpOptionsId` string: The ID of the set of DHCP options you've associated with the VPC (or default if the default options are associated with the VPC).
  - `instanceTenancy` string: The allowed tenancy of instances launched into the VPC.
  - `ipv6CidrBlockAssociationSet` AWSVpcIpv6CidrBlockAssociation[]: Information about the IPv6 CIDR blocks associated with the VPC.
    - `associationId` string: The association ID for the IPv4 CIDR block.
    - `cidrBlock` string: The IPv4 CIDR block.
    - `state` string: The state of the CIDR block.
    - `statusMessage` string: A message about the status of the CIDR block, if applicable.
  - `isDefault` boolean: Indicates whether the VPC is the default VPC.
  - `name` string
  - `ownerId` string: The ID of the AWS account that owns the VPC.
  - `state` string: The current state of the VPC.
  - `tags` AWSTag[]: Any tags assigned to the VPC.
    - `key` string
    - `value` string
  - `vpcId` string: The ID of the VPC.

## Other responses

- `default`: errorResponse

---

[API](https://skmtc.dev/kubermatic/apis/kubermatic-kubernetes-platform-api.md) - [All operations](https://skmtc.dev/kubermatic/apis/kubermatic-kubernetes-platform-api/llms.txt) - [OpenAPI document](https://skmtc.dev/kubermatic/apis/kubermatic-kubernetes-platform-api/revisions/815b9bf19db5?raw)
