Class: Aws::EC2::Types::UserIdGroupPair
- Inherits:
-
Struct
- Object
- Struct
- Aws::EC2::Types::UserIdGroupPair
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-ec2/types.rb
Overview
When making an API call, you may pass UserIdGroupPair data as a hash:
{
group_id: "String",
group_name: "String",
peering_status: "String",
user_id: "String",
vpc_id: "String",
vpc_peering_connection_id: "String",
}
Describes a security group and AWS account ID pair.
Instance Attribute Summary collapse
-
#group_id ⇒ String
The ID of the security group.
-
#group_name ⇒ String
The name of the security group.
-
#peering_status ⇒ String
The status of a VPC peering connection, if applicable.
-
#user_id ⇒ String
The ID of an AWS account.
-
#vpc_id ⇒ String
The ID of the VPC for the referenced security group, if applicable.
-
#vpc_peering_connection_id ⇒ String
The ID of the VPC peering connection, if applicable.
Instance Attribute Details
#group_id ⇒ String
The ID of the security group.
24284 24285 24286 24287 24288 24289 24290 24291 24292 |
# File 'lib/aws-sdk-ec2/types.rb', line 24284 class UserIdGroupPair < Struct.new( :group_id, :group_name, :peering_status, :user_id, :vpc_id, :vpc_peering_connection_id) include Aws::Structure end |
#group_name ⇒ String
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.
24284 24285 24286 24287 24288 24289 24290 24291 24292 |
# File 'lib/aws-sdk-ec2/types.rb', line 24284 class UserIdGroupPair < Struct.new( :group_id, :group_name, :peering_status, :user_id, :vpc_id, :vpc_peering_connection_id) include Aws::Structure end |
#peering_status ⇒ String
The status of a VPC peering connection, if applicable.
24284 24285 24286 24287 24288 24289 24290 24291 24292 |
# File 'lib/aws-sdk-ec2/types.rb', line 24284 class UserIdGroupPair < Struct.new( :group_id, :group_name, :peering_status, :user_id, :vpc_id, :vpc_peering_connection_id) include Aws::Structure end |
#user_id ⇒ String
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.
24284 24285 24286 24287 24288 24289 24290 24291 24292 |
# File 'lib/aws-sdk-ec2/types.rb', line 24284 class UserIdGroupPair < Struct.new( :group_id, :group_name, :peering_status, :user_id, :vpc_id, :vpc_peering_connection_id) include Aws::Structure end |
#vpc_id ⇒ String
The ID of the VPC for the referenced security group, if applicable.
24284 24285 24286 24287 24288 24289 24290 24291 24292 |
# File 'lib/aws-sdk-ec2/types.rb', line 24284 class UserIdGroupPair < Struct.new( :group_id, :group_name, :peering_status, :user_id, :vpc_id, :vpc_peering_connection_id) include Aws::Structure end |
#vpc_peering_connection_id ⇒ String
The ID of the VPC peering connection, if applicable.
24284 24285 24286 24287 24288 24289 24290 24291 24292 |
# File 'lib/aws-sdk-ec2/types.rb', line 24284 class UserIdGroupPair < Struct.new( :group_id, :group_name, :peering_status, :user_id, :vpc_id, :vpc_peering_connection_id) include Aws::Structure end |