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.

Describes a security group and Amazon Web Services account ID pair.

Inheritance Hierarchy

System.Object
  Amazon.EC2.Model.UserIdGroupPair

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

Syntax

C#
public class UserIdGroupPair

The UserIdGroupPair type exposes the following members

Constructors

NameDescription
Public Method UserIdGroupPair()

Properties

NameTypeDescription
Public Property Description System.String

Gets and sets the property Description.

A description for the security group rule that references this user ID group pair.

Constraints: Up to 255 characters in length. Allowed characters are a-z, A-Z, 0-9, spaces, and ._-:/()#,@[]+=;{}!$*

Public Property GroupId System.String

Gets and sets the property GroupId.

The ID of the security group.

Public Property GroupName System.String

Gets and sets the property GroupName.

[Default VPC] The name of the security group. For a security group in a nondefault VPC, use the security group ID.

For a referenced security group in another VPC, this value is not returned if the referenced security group is deleted.

Public Property PeeringStatus System.String

Gets and sets the property PeeringStatus.

The status of a VPC peering connection, if applicable.

Public Property UserId System.String

Gets and sets the property UserId.

The ID of an Amazon Web Services account.

For a referenced security group in another VPC, the account ID of the referenced security group is returned in the response. If the referenced security group is deleted, this value is not returned.

Public Property VpcId System.String

Gets and sets the property VpcId.

The ID of the VPC for the referenced security group, if applicable.

Public Property VpcPeeringConnectionId System.String

Gets and sets the property VpcPeeringConnectionId.

The ID of the VPC peering connection, if applicable.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

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