Class: Aws::Inspector2::Types::Resource

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

Overview

Details about the resource involved in a finding.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#detailsTypes::ResourceDetails

An object that contains details about the resource involved in a finding.



7431
7432
7433
7434
7435
7436
7437
7438
7439
7440
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 7431

class Resource < Struct.new(
  :type,
  :id,
  :partition,
  :region,
  :tags,
  :details)
  SENSITIVE = []
  include Aws::Structure
end

#idString

The ID of the resource.

Returns:

  • (String)


7431
7432
7433
7434
7435
7436
7437
7438
7439
7440
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 7431

class Resource < Struct.new(
  :type,
  :id,
  :partition,
  :region,
  :tags,
  :details)
  SENSITIVE = []
  include Aws::Structure
end

#partitionString

The partition of the resource.

Returns:

  • (String)


7431
7432
7433
7434
7435
7436
7437
7438
7439
7440
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 7431

class Resource < Struct.new(
  :type,
  :id,
  :partition,
  :region,
  :tags,
  :details)
  SENSITIVE = []
  include Aws::Structure
end

#regionString

The Amazon Web Services Region the impacted resource is located in.

Returns:

  • (String)


7431
7432
7433
7434
7435
7436
7437
7438
7439
7440
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 7431

class Resource < Struct.new(
  :type,
  :id,
  :partition,
  :region,
  :tags,
  :details)
  SENSITIVE = []
  include Aws::Structure
end

#tagsHash<String,String>

The tags attached to the resource.

Returns:

  • (Hash<String,String>)


7431
7432
7433
7434
7435
7436
7437
7438
7439
7440
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 7431

class Resource < Struct.new(
  :type,
  :id,
  :partition,
  :region,
  :tags,
  :details)
  SENSITIVE = []
  include Aws::Structure
end

#typeString

The type of resource.

Returns:

  • (String)


7431
7432
7433
7434
7435
7436
7437
7438
7439
7440
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 7431

class Resource < Struct.new(
  :type,
  :id,
  :partition,
  :region,
  :tags,
  :details)
  SENSITIVE = []
  include Aws::Structure
end