---
title: "POST /networkSettings"
method: POST
path: "/networkSettings"
---

# POST /networkSettings

`POST /networkSettings`

Creates a network settings resource that can be associated with a web portal. Once associated with a web portal, network settings define how streaming instances will connect with your specified VPC.

## Request body

- object
  - `vpcId` string, required — The VPC that streaming instances will connect to.
  - `subnetIds` SubnetId[], required — The subnets in which network interfaces are created to connect streaming instances to your VPC. At least two of these subnets must be in different availability zones.
  - `securityGroupIds` SecurityGroupId[], required — One or more security groups used to control access from streaming instances to your VPC.
  - `tags` Tag[] — The tags to add to the network settings resource. A tag is a key-value pair.
    - `Key` string, password, required — The key of the tag.
    - `Value` string, password, required — The value of the tag
  - `clientToken` string — <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully, subsequent retries with the same client token returns the result from the original successful request. </p> <p>If you do not specify a client token, one is automatically generated by the Amazon Web Services SDK.</p>

## Response `200`

Success

- CreateNetworkSettingsResponse
  - `networkSettingsArn` string, required — The ARN of the network settings.

## Other responses

- `480` — InternalServerException
- `481` — AccessDeniedException
- `482` — ThrottlingException
- `483` — ServiceQuotaExceededException
- `484` — ValidationException
- `485` — ConflictException

---

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