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

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

Overview

Note:

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

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#resource_arnString

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

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

Returns:

  • (String)


1155
1156
1157
1158
1159
1160
# File 'gems/aws-sdk-synthetics/lib/aws-sdk-synthetics/types.rb', line 1155

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 canary.

Returns:

  • (Hash<String,String>)


1155
1156
1157
1158
1159
1160
# File 'gems/aws-sdk-synthetics/lib/aws-sdk-synthetics/types.rb', line 1155

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