You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::EC2::Types::SecurityGroup
- Inherits:
-
Struct
- Object
- Struct
- Aws::EC2::Types::SecurityGroup
- Defined in:
- (unknown)
Overview
Describes a security group
Instance Attribute Summary collapse
-
#description ⇒ String
A description of the security group.
-
#group_id ⇒ String
The ID of the security group.
-
#group_name ⇒ String
The name of the security group.
-
#ip_permissions ⇒ Array<Types::IpPermission>
The inbound rules associated with the security group.
-
#ip_permissions_egress ⇒ Array<Types::IpPermission>
[VPC only] The outbound rules associated with the security group.
-
#owner_id ⇒ String
The AWS account ID of the owner of the security group.
-
#tags ⇒ Array<Types::Tag>
Any tags assigned to the security group.
-
#vpc_id ⇒ String
[VPC only] The ID of the VPC for the security group.
Instance Attribute Details
#description ⇒ String
A description of the security group.
#group_id ⇒ String
The ID of the security group.
#group_name ⇒ String
The name of the security group.
#ip_permissions ⇒ Array<Types::IpPermission>
The inbound rules associated with the security group.
#ip_permissions_egress ⇒ Array<Types::IpPermission>
[VPC only] The outbound rules associated with the security group.
#owner_id ⇒ String
The AWS account ID of the owner of the security group.
#tags ⇒ Array<Types::Tag>
Any tags assigned to the security group.
#vpc_id ⇒ String
[VPC only] The ID of the VPC for the security group.