Skip to content

/AWS1/CL_SE2=>TAGRESOURCE()

About TagResource

Add one or more tags (keys and values) to a specified resource. A tag is a label that you optionally define and associate with a resource. Tags can help you categorize and manage resources in different ways, such as by purpose, owner, environment, or other criteria. A resource can have as many as 50 tags.

Each tag consists of a required tag key and an associated tag value, both of which you define. A tag key is a general label that acts as a category for more specific tag values. A tag value acts as a descriptor within a tag key.

Method Signature

IMPORTING

Required arguments:

IV_RESOURCEARN TYPE /AWS1/SE2AMAZONRESOURCENAME /AWS1/SE2AMAZONRESOURCENAME

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

IT_TAGS TYPE /AWS1/CL_SE2TAG=>TT_TAGLIST TT_TAGLIST

A list of the tags that you want to add to the resource. 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.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_SE2TAGRESOURCERSP /AWS1/CL_SE2TAGRESOURCERSP