Skip to content

Tag Resource

sfn_tag_resource R Documentation

Add a tag to a Step Functions resource

Description

Add a tag to a Step Functions resource.

An array of key-value pairs. For more information, see Using Cost Allocation Tags in the Amazon Web Services Billing and Cost Management User Guide, and Controlling Access Using IAM Tags.

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

Usage

sfn_tag_resource(resourceArn, tags)

Arguments

resourceArn

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

tags

[required] The list of tags to add to a resource.

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

Value

An empty list.

Request syntax

svc$tag_resource(
  resourceArn = "string",
  tags = list(
    list(
      key = "string",
      value = "string"
    )
  )
)