Skip to content

Create Ip Group

workspaces_create_ip_group R Documentation

Creates an IP access control group

Description

Creates an IP access control group.

An IP access control group provides you with the ability to control the IP addresses from which users are allowed to access their WorkSpaces. To specify the CIDR address ranges, add rules to your IP access control group and then associate the group with your directory. You can add rules when you create the group or at any time using authorize_ip_rules.

There is a default IP access control group associated with your directory. If you don't associate an IP access control group with your directory, the default group is used. The default group includes a default rule that allows users to access their WorkSpaces from anywhere. You cannot modify the default IP access control group for your directory.

Usage

workspaces_create_ip_group(GroupName, GroupDesc, UserRules, Tags)

Arguments

GroupName

[required] The name of the group.

GroupDesc

The description of the group.

UserRules

The rules to add to the group.

Tags

The tags. Each WorkSpaces resource can have a maximum of 50 tags.

Value

A list with the following syntax:

list(
  GroupId = "string"
)

Request syntax

svc$create_ip_group(
  GroupName = "string",
  GroupDesc = "string",
  UserRules = list(
    list(
      ipRule = "string",
      ruleDesc = "string"
    )
  ),
  Tags = list(
    list(
      Key = "string",
      Value = "string"
    )
  )
)