Class: Aws::ECR::Types::Resource

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ecr/lib/aws-sdk-ecr/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.



3308
3309
3310
3311
3312
3313
3314
3315
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb', line 3308

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

#idString

The ID of the resource.

Returns:

  • (String)


3308
3309
3310
3311
3312
3313
3314
3315
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb', line 3308

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

#tagsHash<String,String>

The tags attached to the resource.

Returns:

  • (Hash<String,String>)


3308
3309
3310
3311
3312
3313
3314
3315
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb', line 3308

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

#typeString

The type of resource.

Returns:

  • (String)


3308
3309
3310
3311
3312
3313
3314
3315
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb', line 3308

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