Skip to content

/AWS1/CL_EC2SECIFACEATCHMT

Describes the attachment of a secondary interface to an instance.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_attachmentid TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The ID of the attachment.

iv_attachtime TYPE /AWS1/EC2MILLISECONDDATETIME /AWS1/EC2MILLISECONDDATETIME

The timestamp when the attachment was created.

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_instanceid TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The ID of the instance to which the secondary interface is attached.

iv_instanceownerid TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The Amazon Web Services account ID of the owner of the instance.

iv_networkcardindex TYPE /AWS1/EC2INTEGER /AWS1/EC2INTEGER

The index of the network card.

iv_status TYPE /AWS1/EC2ATTACHMENTSTATUS /AWS1/EC2ATTACHMENTSTATUS

The attachment state.


Queryable Attributes

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

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

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

InstanceId

The ID of the instance to which the secondary interface is attached.

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

InstanceOwnerId

The Amazon Web Services account ID of the owner of the instance.

Accessible with the following methods

Method Description
GET_INSTANCEOWNERID() Getter for INSTANCEOWNERID, with configurable default
ASK_INSTANCEOWNERID() Getter for INSTANCEOWNERID w/ exceptions if field has no val
HAS_INSTANCEOWNERID() Determine if INSTANCEOWNERID 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

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