You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing AwsEc2SecurityGroupUserIdGroupPair as input to an Aws::Client method, you can use a vanilla 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.

Instance Attribute Summary collapse

Instance Attribute Details

#group_idString

The ID of the security group.

Returns:

  • (String)

    The ID of the security group.

#group_nameString

The name of the security group.

Returns:

  • (String)

    The name of the security group.

#peering_statusString

The status of a VPC peering connection, if applicable.

Returns:

  • (String)

    The status of a VPC peering connection, if applicable.

#user_idString

The ID of an AWS 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 AWS.

Returns:

  • (String)

    The ID of an AWS account.

#vpc_idString

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

Returns:

  • (String)

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

#vpc_peering_connection_idString

The ID of the VPC peering connection, if applicable.

Returns:

  • (String)

    The ID of the VPC peering connection, if applicable.