Class: Aws::SecurityHub::Types::AwsEc2SecurityGroupUserIdGroupPair

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

Overview

Note:

When making an API call, you may pass AwsEc2SecurityGroupUserIdGroupPair data as a hash:

{
  group_id: "NonEmptyString",
  group_name: "NonEmptyString",
  peering_status: "NonEmptyString",
  user_id: "NonEmptyString",
  vpc_id: "NonEmptyString",
  vpc_peering_connection_id: "NonEmptyString",
}

A relationship between a security group and a user.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#group_idString

The ID of the security group.

Returns:

  • (String)


4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 4970

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

#group_nameString

The name of the security group.

Returns:

  • (String)


4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 4970

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

#peering_statusString

The status of a VPC peering connection, if applicable.

Returns:

  • (String)


4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 4970

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

#user_idString

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.

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

Returns:

  • (String)


4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 4970

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

#vpc_idString

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

Returns:

  • (String)


4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 4970

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

#vpc_peering_connection_idString

The ID of the VPC peering connection, if applicable.

Returns:

  • (String)


4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 4970

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