Class: Aws::CloudWatchEvents::Types::TagResourceRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-cloudwatchevents/types.rb

Overview

Note:

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

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#resource_arnString

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

Returns:

  • (String)

4884
4885
4886
4887
4888
4889
# File 'lib/aws-sdk-cloudwatchevents/types.rb', line 4884

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

#tagsArray<Types::Tag>

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

Returns:


4884
4885
4886
4887
4888
4889
# File 'lib/aws-sdk-cloudwatchevents/types.rb', line 4884

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