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.



5829
5830
5831
5832
5833
5834
5835
5836
5837
5838
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 5829

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

#idString

The ID of the resource.

Returns:

  • (String)


5829
5830
5831
5832
5833
5834
5835
5836
5837
5838
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 5829

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

#partitionString

The partition of the resource.

Returns:

  • (String)


5829
5830
5831
5832
5833
5834
5835
5836
5837
5838
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 5829

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

#regionString

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

Returns:

  • (String)


5829
5830
5831
5832
5833
5834
5835
5836
5837
5838
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 5829

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

#tagsHash<String,String>

The tags attached to the resource.

Returns:

  • (Hash<String,String>)


5829
5830
5831
5832
5833
5834
5835
5836
5837
5838
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 5829

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

#typeString

The type of resource.

Returns:

  • (String)


5829
5830
5831
5832
5833
5834
5835
5836
5837
5838
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 5829

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