Skip to content

Create Network Settings

workspacesweb_create_network_settings R Documentation

Creates a network settings resource that can be associated with a web portal

Description

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.

Usage

workspacesweb_create_network_settings(vpcId, subnetIds,
  securityGroupIds, tags, clientToken)

Arguments

vpcId

[required] The VPC that streaming instances will connect to.

subnetIds

[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

[required] One or more security groups used to control access from streaming instances to your VPC.

tags

The tags to add to the network settings resource. A tag is a key-value pair.

clientToken

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.

If you do not specify a client token, one is automatically generated by the Amazon Web Services SDK.

Value

A list with the following syntax:

list(
  networkSettingsArn = "string"
)

Request syntax

svc$create_network_settings(
  vpcId = "string",
  subnetIds = list(
    "string"
  ),
  securityGroupIds = list(
    "string"
  ),
  tags = list(
    list(
      Key = "string",
      Value = "string"
    )
  ),
  clientToken = "string"
)