---
title: "GET /#Action=CreateDBSubnetGroup"
method: GET
path: "/#Action=CreateDBSubnetGroup"
---

# GET /#Action=CreateDBSubnetGroup

`GET /#Action=CreateDBSubnetGroup`

Creates a new DB subnet group. DB subnet groups must contain at least one subnet in at least two AZs in the Amazon Region.

## Query parameters

- `DBSubnetGroupName` string, required
- `DBSubnetGroupDescription` string, required
- `SubnetIds` string[], required
- `Tags` object[]
  - `Key` string — A key is the required name of the tag. The string value can be from 1 to 128 Unicode characters in length and can't be prefixed with <code>aws:</code> or <code>rds:</code>. The string can only contain the set of Unicode letters, digits, white-space, '_', '.', '/', '=', '+', '-' (Java regex: "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-]*)$").
  - `Value` string — A value is the optional value of the tag. The string value can be from 1 to 256 Unicode characters in length and can't be prefixed with <code>aws:</code> or <code>rds:</code>. The string can only contain the set of Unicode letters, digits, white-space, '_', '.', '/', '=', '+', '-' (Java regex: "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-]*)$").
- `Action` 'CreateDBSubnetGroup', required
- `Version` '2014-10-31', required

## Response `200`

Success

## Other responses

- `480` — DBSubnetGroupAlreadyExistsFault
- `481` — DBSubnetGroupQuotaExceededFault
- `482` — DBSubnetQuotaExceededFault
- `483` — DBSubnetGroupDoesNotCoverEnoughAZs
- `484` — InvalidSubnet

---

[API](https://skmtc.net/aws/apis/neptune.md) · [All operations](https://skmtc.net/aws/apis/neptune/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/neptune/versions/c3673ca75718/schema)
