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(clientToken, securityGroupIds,
  subnetIds, tags, vpcId)

Arguments

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.

securityGroupIds

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

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.

tags

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

vpcId

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

Value

A list with the following syntax:

list(
  networkSettingsArn = "string"
)

Request syntax

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