Class: Aws::SecurityHub::Types::TagResourceRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#resource_arnString

The ARN of the resource to apply the tags to.

Returns:

  • (String)


21306
21307
21308
21309
21310
21311
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 21306

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

#tagsHash<String,String>

The tags to add to the resource. You can add up to 50 tags at a time. The tag keys can be no longer than 128 characters. The tag values can be no longer than 256 characters.

Returns:

  • (Hash<String,String>)


21306
21307
21308
21309
21310
21311
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 21306

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