Class: Aws::States::Types::TagResourceInput

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

Overview

Note:

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

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#resource_arnString

The Amazon Resource Name (ARN) for the Step Functions state machine or activity.

Returns:

  • (String)


2617
2618
2619
2620
2621
2622
# File 'lib/aws-sdk-states/types.rb', line 2617

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

#tagsArray<Types::Tag>

The list of tags to add to a resource.

Tags may only contain Unicode letters, digits, white space, or these symbols: ‘_ . : / = + - @`.

Returns:



2617
2618
2619
2620
2621
2622
# File 'lib/aws-sdk-states/types.rb', line 2617

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