Skip to content

/AWS1/CL_EC2INSTANCEATTRIBUTE

Describes an instance attribute.

CONSTRUCTOR

IMPORTING

Optional arguments:

IT_BLOCKDEVICEMAPPINGS TYPE /AWS1/CL_EC2INSTBLOCKDEVICEMAP=>TT_INSTBLOCKDEVICEMAPPINGLIST TT_INSTBLOCKDEVICEMAPPINGLIST

The block device mapping of the instance.

IO_DISABLEAPITERMINATION TYPE REF TO /AWS1/CL_EC2ATTRBOOLEANVALUE /AWS1/CL_EC2ATTRBOOLEANVALUE

Indicates whether termination protection is enabled. If the value is true, you can't terminate the instance using the Amazon EC2 console, command line tools, or API.

IO_ENASUPPORT TYPE REF TO /AWS1/CL_EC2ATTRBOOLEANVALUE /AWS1/CL_EC2ATTRBOOLEANVALUE

Indicates whether enhanced networking with ENA is enabled.

IO_ENCLAVEOPTIONS TYPE REF TO /AWS1/CL_EC2ENCLAVEOPTIONS /AWS1/CL_EC2ENCLAVEOPTIONS

Indicates whether the instance is enabled for Amazon Web Services Nitro Enclaves.

IO_EBSOPTIMIZED TYPE REF TO /AWS1/CL_EC2ATTRBOOLEANVALUE /AWS1/CL_EC2ATTRBOOLEANVALUE

Indicates whether the instance is optimized for Amazon EBS I/O.

IV_INSTANCEID TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The ID of the instance.

IO_INSTINITIATEDSHUTDOWNBE00 TYPE REF TO /AWS1/CL_EC2ATTRIBUTEVALUE /AWS1/CL_EC2ATTRIBUTEVALUE

Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown).

IO_INSTANCETYPE TYPE REF TO /AWS1/CL_EC2ATTRIBUTEVALUE /AWS1/CL_EC2ATTRIBUTEVALUE

The instance type.

IO_KERNELID TYPE REF TO /AWS1/CL_EC2ATTRIBUTEVALUE /AWS1/CL_EC2ATTRIBUTEVALUE

The kernel ID.

IT_PRODUCTCODES TYPE /AWS1/CL_EC2PRODUCTCODE=>TT_PRODUCTCODELIST TT_PRODUCTCODELIST

The product codes.

IO_RAMDISKID TYPE REF TO /AWS1/CL_EC2ATTRIBUTEVALUE /AWS1/CL_EC2ATTRIBUTEVALUE

The RAM disk ID.

IO_ROOTDEVICENAME TYPE REF TO /AWS1/CL_EC2ATTRIBUTEVALUE /AWS1/CL_EC2ATTRIBUTEVALUE

The device name of the root device volume (for example, /dev/sda1).

IO_SOURCEDESTCHECK TYPE REF TO /AWS1/CL_EC2ATTRBOOLEANVALUE /AWS1/CL_EC2ATTRBOOLEANVALUE

Indicates whether source/destination checks are enabled.

IO_SRIOVNETSUPPORT TYPE REF TO /AWS1/CL_EC2ATTRIBUTEVALUE /AWS1/CL_EC2ATTRIBUTEVALUE

Indicates whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.

IO_USERDATA TYPE REF TO /AWS1/CL_EC2ATTRIBUTEVALUE /AWS1/CL_EC2ATTRIBUTEVALUE

The user data.

IO_DISABLEAPISTOP TYPE REF TO /AWS1/CL_EC2ATTRBOOLEANVALUE /AWS1/CL_EC2ATTRBOOLEANVALUE

Indicates whether stop protection is enabled for the instance.

IT_GROUPS TYPE /AWS1/CL_EC2GROUPIDENTIFIER=>TT_GROUPIDENTIFIERLIST TT_GROUPIDENTIFIERLIST

The security groups associated with the instance.


Queryable Attributes

BlockDeviceMappings

The block device mapping of the instance.

Accessible with the following methods

Method Description
GET_BLOCKDEVICEMAPPINGS() Getter for BLOCKDEVICEMAPPINGS, with configurable default
ASK_BLOCKDEVICEMAPPINGS() Getter for BLOCKDEVICEMAPPINGS w/ exceptions if field has no
HAS_BLOCKDEVICEMAPPINGS() Determine if BLOCKDEVICEMAPPINGS has a value

DisableApiTermination

Indicates whether termination protection is enabled. If the value is true, you can't terminate the instance using the Amazon EC2 console, command line tools, or API.

Accessible with the following methods

Method Description
GET_DISABLEAPITERMINATION() Getter for DISABLEAPITERMINATION

EnaSupport

Indicates whether enhanced networking with ENA is enabled.

Accessible with the following methods

Method Description
GET_ENASUPPORT() Getter for ENASUPPORT

EnclaveOptions

Indicates whether the instance is enabled for Amazon Web Services Nitro Enclaves.

Accessible with the following methods

Method Description
GET_ENCLAVEOPTIONS() Getter for ENCLAVEOPTIONS

EbsOptimized

Indicates whether the instance is optimized for Amazon EBS I/O.

Accessible with the following methods

Method Description
GET_EBSOPTIMIZED() Getter for EBSOPTIMIZED

InstanceId

The ID of the instance.

Accessible with the following methods

Method Description
GET_INSTANCEID() Getter for INSTANCEID, with configurable default
ASK_INSTANCEID() Getter for INSTANCEID w/ exceptions if field has no value
HAS_INSTANCEID() Determine if INSTANCEID has a value

InstanceInitiatedShutdownBehavior

Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown).

Accessible with the following methods

Method Description
GET_INSTINITIATEDSHUTDOWNB00() Getter for INSTINITIATEDSHUTDOWNBEHAV

InstanceType

The instance type.

Accessible with the following methods

Method Description
GET_INSTANCETYPE() Getter for INSTANCETYPE

KernelId

The kernel ID.

Accessible with the following methods

Method Description
GET_KERNELID() Getter for KERNELID

ProductCodes

The product codes.

Accessible with the following methods

Method Description
GET_PRODUCTCODES() Getter for PRODUCTCODES, with configurable default
ASK_PRODUCTCODES() Getter for PRODUCTCODES w/ exceptions if field has no value
HAS_PRODUCTCODES() Determine if PRODUCTCODES has a value

RamdiskId

The RAM disk ID.

Accessible with the following methods

Method Description
GET_RAMDISKID() Getter for RAMDISKID

RootDeviceName

The device name of the root device volume (for example, /dev/sda1).

Accessible with the following methods

Method Description
GET_ROOTDEVICENAME() Getter for ROOTDEVICENAME

SourceDestCheck

Indicates whether source/destination checks are enabled.

Accessible with the following methods

Method Description
GET_SOURCEDESTCHECK() Getter for SOURCEDESTCHECK

SriovNetSupport

Indicates whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.

Accessible with the following methods

Method Description
GET_SRIOVNETSUPPORT() Getter for SRIOVNETSUPPORT

UserData

The user data.

Accessible with the following methods

Method Description
GET_USERDATA() Getter for USERDATA

DisableApiStop

Indicates whether stop protection is enabled for the instance.

Accessible with the following methods

Method Description
GET_DISABLEAPISTOP() Getter for DISABLEAPISTOP

Groups

The security groups associated with the instance.

Accessible with the following methods

Method Description
GET_GROUPS() Getter for GROUPS, with configurable default
ASK_GROUPS() Getter for GROUPS w/ exceptions if field has no value
HAS_GROUPS() Determine if GROUPS has a value