Skip to content

/AWS1/CL_EC2INSTSECIFACEATCHMT

Describes the attachment of a secondary interface to an instance.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_attachtime TYPE /AWS1/EC2MILLISECONDDATETIME /AWS1/EC2MILLISECONDDATETIME

The timestamp when the attachment was created.

iv_attachmentid TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The ID of the attachment.

iv_deleteontermination TYPE /AWS1/EC2BOOLEAN /AWS1/EC2BOOLEAN

Indicates whether the secondary interface is deleted when the instance is terminated.

The only supported value for this field is true.

iv_deviceindex TYPE /AWS1/EC2INTEGER /AWS1/EC2INTEGER

The device index of the secondary interface.

iv_status TYPE /AWS1/EC2ATTACHMENTSTATUS /AWS1/EC2ATTACHMENTSTATUS

The attachment state.

iv_networkcardindex TYPE /AWS1/EC2INTEGER /AWS1/EC2INTEGER

The index of the network card.


Queryable Attributes

AttachTime

The timestamp when the attachment was created.

Accessible with the following methods

Method Description
GET_ATTACHTIME() Getter for ATTACHTIME, with configurable default
ASK_ATTACHTIME() Getter for ATTACHTIME w/ exceptions if field has no value
HAS_ATTACHTIME() Determine if ATTACHTIME has a value

AttachmentId

The ID of the attachment.

Accessible with the following methods

Method Description
GET_ATTACHMENTID() Getter for ATTACHMENTID, with configurable default
ASK_ATTACHMENTID() Getter for ATTACHMENTID w/ exceptions if field has no value
HAS_ATTACHMENTID() Determine if ATTACHMENTID has a value

DeleteOnTermination

Indicates whether the secondary interface is deleted when the instance is terminated.

The only supported value for this field is true.

Accessible with the following methods

Method Description
GET_DELETEONTERMINATION() Getter for DELETEONTERMINATION, with configurable default
ASK_DELETEONTERMINATION() Getter for DELETEONTERMINATION w/ exceptions if field has no
HAS_DELETEONTERMINATION() Determine if DELETEONTERMINATION has a value

DeviceIndex

The device index of the secondary interface.

Accessible with the following methods

Method Description
GET_DEVICEINDEX() Getter for DEVICEINDEX, with configurable default
ASK_DEVICEINDEX() Getter for DEVICEINDEX w/ exceptions if field has no value
HAS_DEVICEINDEX() Determine if DEVICEINDEX has a value

Status

The attachment state.

Accessible with the following methods

Method Description
GET_STATUS() Getter for STATUS, with configurable default
ASK_STATUS() Getter for STATUS w/ exceptions if field has no value
HAS_STATUS() Determine if STATUS has a value

NetworkCardIndex

The index of the network card.

Accessible with the following methods

Method Description
GET_NETWORKCARDINDEX() Getter for NETWORKCARDINDEX, with configurable default
ASK_NETWORKCARDINDEX() Getter for NETWORKCARDINDEX w/ exceptions if field has no va
HAS_NETWORKCARDINDEX() Determine if NETWORKCARDINDEX has a value