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

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

Overview

Note:

When making an API call, you may pass TagResourceRequest data as a hash:

{
  resource_arn: "ResourceArn", # required
  tags: { # required
    "TagKey" => "TagValue",
  },
}

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)


10927
10928
10929
10930
10931
10932
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 10927

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

#tagsHash<String,String>

The tags to add to the resource.

Returns:

  • (Hash<String,String>)


10927
10928
10929
10930
10931
10932
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 10927

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