Skip to content

/AWS1/CL_EC2TAGSPECIFICATION

The tags to apply to a resource when the resource is being created. When you specify a tag, you must specify the resource type to tag, otherwise the request will fail.

The Valid Values lists all the resource types that can be tagged. However, the action you're using might not support tagging all of these resource types. If you try to tag a resource type that is unsupported for the action you're using, you'll get an error.

CONSTRUCTOR

IMPORTING

Optional arguments:

IV_RESOURCETYPE TYPE /AWS1/EC2RESOURCETYPE /AWS1/EC2RESOURCETYPE

The type of resource to tag on creation.

IT_TAGS TYPE /AWS1/CL_EC2TAG=>TT_TAGLIST TT_TAGLIST

The tags to apply to the resource.


Queryable Attributes

ResourceType

The type of resource to tag on creation.

Accessible with the following methods

Method Description
GET_RESOURCETYPE() Getter for RESOURCETYPE, with configurable default
ASK_RESOURCETYPE() Getter for RESOURCETYPE w/ exceptions if field has no value
HAS_RESOURCETYPE() Determine if RESOURCETYPE has a value

Tags

The tags to apply to the resource.

Accessible with the following methods

Method Description
GET_TAGS() Getter for TAGS, with configurable default
ASK_TAGS() Getter for TAGS w/ exceptions if field has no value
HAS_TAGS() Determine if TAGS 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_TAGSPECIFICATIONLIST

TYPES TT_TAGSPECIFICATIONLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_EC2TAGSPECIFICATION WITH DEFAULT KEY
.