Class: Aws::EC2::Types::UserIdGroupPair

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb

Overview

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#description ⇒ String

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 ._-:/()#,@[]+=;{}!$*

Returns:

  • (String)


93164
93165
93166
93167
93168
93169
93170
93171
93172
93173
93174
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 93164

class UserIdGroupPair < Struct.new(
  :description,
  :user_id,
  :group_name,
  :group_id,
  :vpc_id,
  :vpc_peering_connection_id,
  :peering_status)
  SENSITIVE = []
  include Aws::Structure
end

#group_id ⇒ String

The ID of the security group.

Returns:

  • (String)


93164
93165
93166
93167
93168
93169
93170
93171
93172
93173
93174
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 93164

class UserIdGroupPair < Struct.new(
  :description,
  :user_id,
  :group_name,
  :group_id,
  :vpc_id,
  :vpc_peering_connection_id,
  :peering_status)
  SENSITIVE = []
  include Aws::Structure
end

#group_name ⇒ String

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

Returns:

  • (String)


93164
93165
93166
93167
93168
93169
93170
93171
93172
93173
93174
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 93164

class UserIdGroupPair < Struct.new(
  :description,
  :user_id,
  :group_name,
  :group_id,
  :vpc_id,
  :vpc_peering_connection_id,
  :peering_status)
  SENSITIVE = []
  include Aws::Structure
end

#peering_status ⇒ String

The status of a VPC peering connection, if applicable.

Returns:

  • (String)


93164
93165
93166
93167
93168
93169
93170
93171
93172
93173
93174
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 93164

class UserIdGroupPair < Struct.new(
  :description,
  :user_id,
  :group_name,
  :group_id,
  :vpc_id,
  :vpc_peering_connection_id,
  :peering_status)
  SENSITIVE = []
  include Aws::Structure
end

#user_id ⇒ String

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.

Returns:

  • (String)


93164
93165
93166
93167
93168
93169
93170
93171
93172
93173
93174
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 93164

class UserIdGroupPair < Struct.new(
  :description,
  :user_id,
  :group_name,
  :group_id,
  :vpc_id,
  :vpc_peering_connection_id,
  :peering_status)
  SENSITIVE = []
  include Aws::Structure
end

#vpc_id ⇒ String

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

Returns:

  • (String)


93164
93165
93166
93167
93168
93169
93170
93171
93172
93173
93174
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 93164

class UserIdGroupPair < Struct.new(
  :description,
  :user_id,
  :group_name,
  :group_id,
  :vpc_id,
  :vpc_peering_connection_id,
  :peering_status)
  SENSITIVE = []
  include Aws::Structure
end

#vpc_peering_connection_id ⇒ String

The ID of the VPC peering connection, if applicable.

Returns:

  • (String)


93164
93165
93166
93167
93168
93169
93170
93171
93172
93173
93174
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 93164

class UserIdGroupPair < Struct.new(
  :description,
  :user_id,
  :group_name,
  :group_id,
  :vpc_id,
  :vpc_peering_connection_id,
  :peering_status)
  SENSITIVE = []
  include Aws::Structure
end