AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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 AuthorizeIpRules.

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.

Note:

For .NET Core this operation is only available in asynchronous form. Please refer to CreateIpGroupAsync.

Namespace: Amazon.WorkSpaces
Assembly: AWSSDK.WorkSpaces.dll
Version: 3.x.y.z

Syntax

C#
public abstract CreateIpGroupResponse CreateIpGroup(
         CreateIpGroupRequest request
)

Parameters

request
Type: Amazon.WorkSpaces.Model.CreateIpGroupRequest

Container for the necessary parameters to execute the CreateIpGroup service method.

Return Value


The response from the CreateIpGroup service method, as returned by WorkSpaces.

Exceptions

ExceptionCondition
AccessDeniedException The user is not authorized to access a resource.
InvalidParameterValuesException One or more parameter values are not valid.
ResourceAlreadyExistsException The specified resource already exists.
ResourceCreationFailedException The resource could not be created.
ResourceLimitExceededException Your resource limits have been exceeded.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5

See Also