Class: Aws::Synthetics::Types::TagResourceRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#resource_arnString

The ARN of the canary or group that you're adding tags to.

The ARN format of a canary is arn:aws:synthetics:Region:account-id:canary:canary-name.

The ARN format of a group is arn:aws:synthetics:Region:account-id:group:group-name

Returns:

  • (String)


1646
1647
1648
1649
1650
1651
# File 'gems/aws-sdk-synthetics/lib/aws-sdk-synthetics/types.rb', line 1646

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

#tagsHash<String,String>

The list of key-value pairs to associate with the resource.

Returns:

  • (Hash<String,String>)


1646
1647
1648
1649
1650
1651
# File 'gems/aws-sdk-synthetics/lib/aws-sdk-synthetics/types.rb', line 1646

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