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

Class: Aws::GuardDuty::Types::Resource

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

Overview

The AWS resource associated with the activity that prompted GuardDuty to generate a finding.

Instance Attribute Summary collapse

Instance Attribute Details

#access_key_detailsTypes::AccessKeyDetails

The IAM access key details (IAM user information) of a user that engaged in the activity that prompted GuardDuty to generate a finding.



2145
2146
2147
2148
2149
2150
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 2145

class Resource < Struct.new(
  :access_key_details,
  :instance_details,
  :resource_type)
  include Aws::Structure
end

#instance_detailsTypes::InstanceDetails

The information about the EC2 instance associated with the activity that prompted GuardDuty to generate a finding.



2145
2146
2147
2148
2149
2150
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 2145

class Resource < Struct.new(
  :access_key_details,
  :instance_details,
  :resource_type)
  include Aws::Structure
end

#resource_typeString

The type of the AWS resource.

Returns:

  • (String)


2145
2146
2147
2148
2149
2150
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 2145

class Resource < Struct.new(
  :access_key_details,
  :instance_details,
  :resource_type)
  include Aws::Structure
end