Skip to content

/AWS1/CL_KN2TAG

A key-value pair (the value is optional) that you can define and assign to Amazon resources. If you specify a tag that already exists, the tag value is replaced with the value that you specify in the request. Note that the maximum number of application tags includes system tags. The maximum number of user-defined application tags is 50. For more information, see Using Tagging.

CONSTRUCTOR

IMPORTING

Required arguments:

IV_KEY TYPE /AWS1/KN2TAGKEY /AWS1/KN2TAGKEY

The key of the key-value tag.

Optional arguments:

IV_VALUE TYPE /AWS1/KN2TAGVALUE /AWS1/KN2TAGVALUE

The value of the key-value tag. The value is optional.


Queryable Attributes

Key

The key of the key-value tag.

Accessible with the following methods

Method Description
GET_KEY() Getter for KEY, with configurable default
ASK_KEY() Getter for KEY w/ exceptions if field has no value
HAS_KEY() Determine if KEY has a value

Value

The value of the key-value tag. The value is optional.

Accessible with the following methods

Method Description
GET_VALUE() Getter for VALUE, with configurable default
ASK_VALUE() Getter for VALUE w/ exceptions if field has no value
HAS_VALUE() Determine if VALUE has a value

Public Local Types In This Class

Internal table types, representing arrays and maps of this class, are defined as local types:

TT_TAGS

TYPES TT_TAGS TYPE STANDARD TABLE OF REF TO /AWS1/CL_KN2TAG WITH DEFAULT KEY
.