/AWS1/CL_LSA=>TAGRESOURCE()
¶
About TagResource¶
Adds one or more tags to the specified Amazon Lightsail resource. Each resource can have a maximum of 50 tags. Each tag consists of a key and an optional value. Tag keys must be unique per resource. For more information about tags, see the Amazon Lightsail Developer Guide.
The tag resource
operation supports tag-based access control via request tags
and resource tags applied to the resource identified by resource name
. For more
information, see the Amazon Lightsail Developer Guide.
Method Signature¶
IMPORTING¶
Required arguments:¶
IV_RESOURCENAME
TYPE /AWS1/LSARESOURCENAME
/AWS1/LSARESOURCENAME
¶
The name of the resource to which you are adding tags.
IT_TAGS
TYPE /AWS1/CL_LSATAG=>TT_TAGLIST
TT_TAGLIST
¶
The tag key and optional value.
Optional arguments:¶
IV_RESOURCEARN
TYPE /AWS1/LSARESOURCEARN
/AWS1/LSARESOURCEARN
¶
The Amazon Resource Name (ARN) of the resource to which you want to add a tag.