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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ec2/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)


62445
62446
62447
62448
62449
62450
62451
62452
62453
62454
62455
62456
62457
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 62445

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

#group_idString

The ID of the security group.

Returns:

  • (String)


62445
62446
62447
62448
62449
62450
62451
62452
62453
62454
62455
62456
62457
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 62445

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

#group_nameString

The name of the security group.

Returns:

  • (String)


62445
62446
62447
62448
62449
62450
62451
62452
62453
62454
62455
62456
62457
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 62445

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

#ip_permissionsArray<Types::IpPermission>

The inbound rules associated with the security group.

Returns:



62445
62446
62447
62448
62449
62450
62451
62452
62453
62454
62455
62456
62457
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 62445

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

#ip_permissions_egressArray<Types::IpPermission>

The outbound rules associated with the security group.

Returns:



62445
62446
62447
62448
62449
62450
62451
62452
62453
62454
62455
62456
62457
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 62445

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

#owner_idString

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

Returns:

  • (String)


62445
62446
62447
62448
62449
62450
62451
62452
62453
62454
62455
62456
62457
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 62445

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

#security_group_arnString

The ARN of the security group.

Returns:

  • (String)


62445
62446
62447
62448
62449
62450
62451
62452
62453
62454
62455
62456
62457
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 62445

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

#tagsArray<Types::Tag>

Any tags assigned to the security group.

Returns:



62445
62446
62447
62448
62449
62450
62451
62452
62453
62454
62455
62456
62457
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 62445

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

#vpc_idString

The ID of the VPC for the security group.

Returns:

  • (String)


62445
62446
62447
62448
62449
62450
62451
62452
62453
62454
62455
62456
62457
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 62445

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