Class: Aws::ApplicationInsights::Types::TagResourceRequest

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

Overview

Note:

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

{
  resource_arn: "AmazonResourceName", # required
  tags: [ # required
    {
      key: "TagKey", # required
      value: "TagValue", # required
    },
  ],
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#resource_arnString

The Amazon Resource Name (ARN) of the application that you want to add one or more tags to.

Returns:

  • (String)


1521
1522
1523
1524
1525
1526
# File 'gems/aws-sdk-applicationinsights/lib/aws-sdk-applicationinsights/types.rb', line 1521

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

#tagsArray<Types::Tag>

A list of tags that to add to the application. A tag consists of a required tag key (Key) and an associated tag value (Value). The maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters.

Returns:



1521
1522
1523
1524
1525
1526
# File 'gems/aws-sdk-applicationinsights/lib/aws-sdk-applicationinsights/types.rb', line 1521

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