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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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.



5929
5930
5931
5932
5933
5934
5935
5936
5937
5938
# File 'lib/aws-sdk-inspector2/types.rb', line 5929

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

#idString

The ID of the resource.

Returns:

  • (String)


5929
5930
5931
5932
5933
5934
5935
5936
5937
5938
# File 'lib/aws-sdk-inspector2/types.rb', line 5929

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

#partitionString

The partition of the resource.

Returns:

  • (String)


5929
5930
5931
5932
5933
5934
5935
5936
5937
5938
# File 'lib/aws-sdk-inspector2/types.rb', line 5929

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)


5929
5930
5931
5932
5933
5934
5935
5936
5937
5938
# File 'lib/aws-sdk-inspector2/types.rb', line 5929

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>)


5929
5930
5931
5932
5933
5934
5935
5936
5937
5938
# File 'lib/aws-sdk-inspector2/types.rb', line 5929

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

#typeString

The type of resource.

Returns:

  • (String)


5929
5930
5931
5932
5933
5934
5935
5936
5937
5938
# File 'lib/aws-sdk-inspector2/types.rb', line 5929

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