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

If the value is true, you can't terminate the instance through the Amazon EC2 console, CLI, or API; otherwise, you can.

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

To enable the instance for Amazon Web Services Nitro Enclaves, set this parameter to true; otherwise, set it to false.

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

A list of 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

Enable or disable source/destination checks, which ensure that the instance is either the source or the destination of any traffic that it receives. If the value is true, source/destination checks are enabled; otherwise, they are disabled. The default value is true. You must disable source/destination checks if the instance runs services such as network address translation, routing, or firewalls.

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

To enable the instance for Amazon Web Services Stop Protection, set this parameter to true; otherwise, set it to false.

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

If the value is true, you can't terminate the instance through the Amazon EC2 console, CLI, or API; otherwise, you can.

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

To enable the instance for Amazon Web Services Nitro Enclaves, set this parameter to true; otherwise, set it to false.

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

A list of 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

Enable or disable source/destination checks, which ensure that the instance is either the source or the destination of any traffic that it receives. If the value is true, source/destination checks are enabled; otherwise, they are disabled. The default value is true. You must disable source/destination checks if the instance runs services such as network address translation, routing, or firewalls.

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

To enable the instance for Amazon Web Services Stop Protection, set this parameter to true; otherwise, set it to false.

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