You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::SecurityHub::Types::AwsEc2SecurityGroupDetails
- Inherits:
-
Struct
- Object
- Struct
- Aws::SecurityHub::Types::AwsEc2SecurityGroupDetails
- Defined in:
- (unknown)
Overview
When passing AwsEc2SecurityGroupDetails as input to an Aws::Client method, you can use a vanilla Hash:
{
group_name: "NonEmptyString",
group_id: "NonEmptyString",
owner_id: "NonEmptyString",
vpc_id: "NonEmptyString",
ip_permissions: [
{
ip_protocol: "NonEmptyString",
from_port: 1,
to_port: 1,
user_id_group_pairs: [
{
group_id: "NonEmptyString",
group_name: "NonEmptyString",
peering_status: "NonEmptyString",
user_id: "NonEmptyString",
vpc_id: "NonEmptyString",
vpc_peering_connection_id: "NonEmptyString",
},
],
ip_ranges: [
{
cidr_ip: "NonEmptyString",
},
],
ipv_6_ranges: [
{
cidr_ipv_6: "NonEmptyString",
},
],
prefix_list_ids: [
{
prefix_list_id: "NonEmptyString",
},
],
},
],
ip_permissions_egress: [
{
ip_protocol: "NonEmptyString",
from_port: 1,
to_port: 1,
user_id_group_pairs: [
{
group_id: "NonEmptyString",
group_name: "NonEmptyString",
peering_status: "NonEmptyString",
user_id: "NonEmptyString",
vpc_id: "NonEmptyString",
vpc_peering_connection_id: "NonEmptyString",
},
],
ip_ranges: [
{
cidr_ip: "NonEmptyString",
},
],
ipv_6_ranges: [
{
cidr_ipv_6: "NonEmptyString",
},
],
prefix_list_ids: [
{
prefix_list_id: "NonEmptyString",
},
],
},
],
}
Details about an EC2 security group.
Returned by:
Instance Attribute Summary collapse
-
#group_id ⇒ String
The ID of the security group.
-
#group_name ⇒ String
The name of the security group.
-
#ip_permissions ⇒ Array<Types::AwsEc2SecurityGroupIpPermission>
The inbound rules associated with the security group.
-
#ip_permissions_egress ⇒ Array<Types::AwsEc2SecurityGroupIpPermission>
[VPC only] The outbound rules associated with the security group.
-
#owner_id ⇒ String
The AWS account ID of the owner of the security group.
-
#vpc_id ⇒ String
[VPC only] The ID of the VPC for the security group.
Instance Attribute Details
#group_id ⇒ String
The ID of the security group.
#group_name ⇒ String
The name of the security group.
#ip_permissions ⇒ Array<Types::AwsEc2SecurityGroupIpPermission>
The inbound rules associated with the security group.
#ip_permissions_egress ⇒ Array<Types::AwsEc2SecurityGroupIpPermission>
[VPC only] The outbound rules associated with the security group.
#owner_id ⇒ String
The AWS account ID of the owner of the security group.
#vpc_id ⇒ String
[VPC only] The ID of the VPC for the security group.