Menu
Amazon Elastic Compute Cloud
API Reference (API Version 2016-11-15)

UserIdGroupPair

Describes a security group and AWS account ID pair.

Contents

GroupId (request), groupId (response)

The ID of the security group.

Type: String

Required: No

GroupName (request), groupName (response)

The name of the security group. In a request, use this parameter for a security group in EC2-Classic or a default VPC only. For a security group in a nondefault VPC, use the security group ID.

Type: String

Required: No

PeeringStatus (request), peeringStatus (response)

The status of a VPC peering connection, if applicable.

Type: String

Required: No

UserId (request), userId (response)

The ID of an AWS account. For a referenced security group in another VPC, the account ID of the referenced security group is returned.

[EC2-Classic] Required when adding or removing rules that reference a security group in another AWS account.

Type: String

Required: No

VpcId (request), vpcId (response)

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

Type: String

Required: No

VpcPeeringConnectionId (request), vpcPeeringConnectionId (response)

The ID of the VPC peering connection, if applicable.

Type: String

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

On this page: