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.



3796
3797
3798
3799
3800
3801
3802
3803
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb', line 3796

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

#idString

The ID of the resource.

Returns:

  • (String)


3796
3797
3798
3799
3800
3801
3802
3803
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb', line 3796

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


3796
3797
3798
3799
3800
3801
3802
3803
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb', line 3796

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

#typeString

The type of resource.

Returns:

  • (String)


3796
3797
3798
3799
3800
3801
3802
3803
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb', line 3796

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