class Aws::SecurityHub::Types::AwsEc2SecurityGroupUserIdGroupPair

A relationship between a security group and a user.

@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",
    }

@!attribute [rw] group_id

The ID of the security group.
@return [String]

@!attribute [rw] group_name

The name of the security group.
@return [String]

@!attribute [rw] peering_status

The status of a VPC peering connection, if applicable.
@return [String]

@!attribute [rw] user_id

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.
@return [String]

@!attribute [rw] vpc_id

The ID of the VPC for the referenced security group, if applicable.
@return [String]

@!attribute [rw] vpc_peering_connection_id

The ID of the VPC peering connection, if applicable.
@return [String]

@see docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/AwsEc2SecurityGroupUserIdGroupPair AWS API Documentation

Constants

SENSITIVE