Class: Aws::Inspector2::Types::TagResourceRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#resource_arnString

The Amazon Resource Name (ARN) of the resource to apply a tag to.

Returns:

  • (String)


6777
6778
6779
6780
6781
6782
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 6777

class TagResourceRequest < Struct.new(
  :resource_arn,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#tagsHash<String,String>

The tags to be added to a resource.

Returns:

  • (Hash<String,String>)


6777
6778
6779
6780
6781
6782
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 6777

class TagResourceRequest < Struct.new(
  :resource_arn,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end