Class: Aws::EC2::Types::SecurityGroup

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-ec2/types.rb

Overview

Describes a security group.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#descriptionString

A description of the security group.

Returns:

  • (String)


61146
61147
61148
61149
61150
61151
61152
61153
61154
61155
61156
61157
# File 'lib/aws-sdk-ec2/types.rb', line 61146

class SecurityGroup < Struct.new(
  :description,
  :group_name,
  :ip_permissions,
  :owner_id,
  :group_id,
  :ip_permissions_egress,
  :tags,
  :vpc_id)
  SENSITIVE = []
  include Aws::Structure
end

#group_idString

The ID of the security group.

Returns:

  • (String)


61146
61147
61148
61149
61150
61151
61152
61153
61154
61155
61156
61157
# File 'lib/aws-sdk-ec2/types.rb', line 61146

class SecurityGroup < Struct.new(
  :description,
  :group_name,
  :ip_permissions,
  :owner_id,
  :group_id,
  :ip_permissions_egress,
  :tags,
  :vpc_id)
  SENSITIVE = []
  include Aws::Structure
end

#group_nameString

The name of the security group.

Returns:

  • (String)


61146
61147
61148
61149
61150
61151
61152
61153
61154
61155
61156
61157
# File 'lib/aws-sdk-ec2/types.rb', line 61146

class SecurityGroup < Struct.new(
  :description,
  :group_name,
  :ip_permissions,
  :owner_id,
  :group_id,
  :ip_permissions_egress,
  :tags,
  :vpc_id)
  SENSITIVE = []
  include Aws::Structure
end

#ip_permissionsArray<Types::IpPermission>

The inbound rules associated with the security group.

Returns:



61146
61147
61148
61149
61150
61151
61152
61153
61154
61155
61156
61157
# File 'lib/aws-sdk-ec2/types.rb', line 61146

class SecurityGroup < Struct.new(
  :description,
  :group_name,
  :ip_permissions,
  :owner_id,
  :group_id,
  :ip_permissions_egress,
  :tags,
  :vpc_id)
  SENSITIVE = []
  include Aws::Structure
end

#ip_permissions_egressArray<Types::IpPermission>

The outbound rules associated with the security group.

Returns:



61146
61147
61148
61149
61150
61151
61152
61153
61154
61155
61156
61157
# File 'lib/aws-sdk-ec2/types.rb', line 61146

class SecurityGroup < Struct.new(
  :description,
  :group_name,
  :ip_permissions,
  :owner_id,
  :group_id,
  :ip_permissions_egress,
  :tags,
  :vpc_id)
  SENSITIVE = []
  include Aws::Structure
end

#owner_idString

The Amazon Web Services account ID of the owner of the security group.

Returns:

  • (String)


61146
61147
61148
61149
61150
61151
61152
61153
61154
61155
61156
61157
# File 'lib/aws-sdk-ec2/types.rb', line 61146

class SecurityGroup < Struct.new(
  :description,
  :group_name,
  :ip_permissions,
  :owner_id,
  :group_id,
  :ip_permissions_egress,
  :tags,
  :vpc_id)
  SENSITIVE = []
  include Aws::Structure
end

#tagsArray<Types::Tag>

Any tags assigned to the security group.

Returns:



61146
61147
61148
61149
61150
61151
61152
61153
61154
61155
61156
61157
# File 'lib/aws-sdk-ec2/types.rb', line 61146

class SecurityGroup < Struct.new(
  :description,
  :group_name,
  :ip_permissions,
  :owner_id,
  :group_id,
  :ip_permissions_egress,
  :tags,
  :vpc_id)
  SENSITIVE = []
  include Aws::Structure
end

#vpc_idString

The ID of the VPC for the security group.

Returns:

  • (String)


61146
61147
61148
61149
61150
61151
61152
61153
61154
61155
61156
61157
# File 'lib/aws-sdk-ec2/types.rb', line 61146

class SecurityGroup < Struct.new(
  :description,
  :group_name,
  :ip_permissions,
  :owner_id,
  :group_id,
  :ip_permissions_egress,
  :tags,
  :vpc_id)
  SENSITIVE = []
  include Aws::Structure
end