Skip to content

/AWS1/CL_EC2LAUNCHTMPLTGSPEC00

The tags specification for the resources that are created during instance launch.

CONSTRUCTOR

IMPORTING

Optional arguments:

IV_RESOURCETYPE TYPE /AWS1/EC2RESOURCETYPE /AWS1/EC2RESOURCETYPE

The type of resource to tag.

Valid Values lists all resource types for Amazon EC2 that can be tagged. When you create a launch template, you can specify tags for the following resource types only: instance | volume | network-interface | spot-instances-request. If the instance does not include the resource type that you specify, the instance launch fails. For example, not all instance types include a volume.

To tag a resource after it has been created, see CreateTags.

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.

Valid Values lists all resource types for Amazon EC2 that can be tagged. When you create a launch template, you can specify tags for the following resource types only: instance | volume | network-interface | spot-instances-request. If the instance does not include the resource type that you specify, the instance launch fails. For example, not all instance types include a volume.

To tag a resource after it has been created, see CreateTags.

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_LAUNCHTMPLTAGSPECREQLIST

TYPES TT_LAUNCHTMPLTAGSPECREQLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_EC2LAUNCHTMPLTGSPEC00 WITH DEFAULT KEY
.