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.
Namespace: Amazon.EC2.Model
Assembly: AWSSDK.EC2.dll
Version: 3.x.y.z
public class UserIdGroupPair
The UserIdGroupPair type exposes the following members
Name | Description | |
---|---|---|
UserIdGroupPair() |
Name | Type | Description | |
---|---|---|---|
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 ._-:/()#,@[]+=;{}!$* |
|
GroupId | System.String |
Gets and sets the property GroupId. The ID of the security group. |
|
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. |
|
PeeringStatus | System.String |
Gets and sets the property PeeringStatus. The status of a VPC peering connection, if applicable. |
|
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. |
|
VpcId | System.String |
Gets and sets the property VpcId. The ID of the VPC for the referenced security group, if applicable. |
|
VpcPeeringConnectionId | System.String |
Gets and sets the property VpcPeeringConnectionId. The ID of the VPC peering connection, if applicable. |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5