You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::GuardDuty::Types::SecurityGroup

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb

Overview

Security groups associated with the EC2 instance.

Instance Attribute Summary collapse

Instance Attribute Details

#group_idString

EC2 instance's security group ID.

Returns:

  • (String)


2164
2165
2166
2167
2168
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 2164

class SecurityGroup < Struct.new(
  :group_id,
  :group_name)
  include Aws::Structure
end

#group_nameString

EC2 instance's security group name.

Returns:

  • (String)


2164
2165
2166
2167
2168
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 2164

class SecurityGroup < Struct.new(
  :group_id,
  :group_name)
  include Aws::Structure
end