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

Inherits:
Struct
  • Object
show all
Includes:
Aws::Structure
Defined in:
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)


1615
1616
1617
1618
1619
1620
# File 'lib/aws-sdk-synthetics/types.rb', line 1615

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


1615
1616
1617
1618
1619
1620
# File 'lib/aws-sdk-synthetics/types.rb', line 1615

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