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.



3378
3379
3380
3381
3382
3383
3384
3385
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb', line 3378

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

#idString

The ID of the resource.

Returns:

  • (String)


3378
3379
3380
3381
3382
3383
3384
3385
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb', line 3378

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


3378
3379
3380
3381
3382
3383
3384
3385
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb', line 3378

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

#typeString

The type of resource.

Returns:

  • (String)


3378
3379
3380
3381
3382
3383
3384
3385
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb', line 3378

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