Skip to content

/AWS1/CL_INSNETWORKINTERFACE

Contains information about the network interfaces interacting with an EC2 instance. This data type is used as one of the elements of the AssetAttributes data type.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_networkinterfaceid TYPE /AWS1/INSTEXT /AWS1/INSTEXT

The ID of the network interface.

iv_subnetid TYPE /AWS1/INSTEXT /AWS1/INSTEXT

The ID of a subnet associated with the network interface.

iv_vpcid TYPE /AWS1/INSTEXT /AWS1/INSTEXT

The ID of a VPC associated with the network interface.

iv_privatednsname TYPE /AWS1/INSTEXT /AWS1/INSTEXT

The name of a private DNS associated with the network interface.

iv_privateipaddress TYPE /AWS1/INSTEXT /AWS1/INSTEXT

The private IP address associated with the network interface.

it_privateipaddresses TYPE /AWS1/CL_INSPRIVATEIP=>TT_PRIVATEIPADDRESSES TT_PRIVATEIPADDRESSES

A list of the private IP addresses associated with the network interface. Includes the privateDnsName and privateIpAddress.

iv_publicdnsname TYPE /AWS1/INSTEXT /AWS1/INSTEXT

The name of a public DNS associated with the network interface.

iv_publicip TYPE /AWS1/INSTEXT /AWS1/INSTEXT

The public IP address from which the network interface is reachable.

it_ipv6addresses TYPE /AWS1/CL_INSIPV6ADDRESSES_W=>TT_IPV6ADDRESSES TT_IPV6ADDRESSES

The IP addresses associated with the network interface.

it_securitygroups TYPE /AWS1/CL_INSSECURITYGROUP=>TT_SECURITYGROUPS TT_SECURITYGROUPS

A list of the security groups associated with the network interface. Includes the groupId and groupName.


Queryable Attributes

networkInterfaceId

The ID of the network interface.

Accessible with the following methods

Method Description
GET_NETWORKINTERFACEID() Getter for NETWORKINTERFACEID, with configurable default
ASK_NETWORKINTERFACEID() Getter for NETWORKINTERFACEID w/ exceptions if field has no
HAS_NETWORKINTERFACEID() Determine if NETWORKINTERFACEID has a value

subnetId

The ID of a subnet associated with the network interface.

Accessible with the following methods

Method Description
GET_SUBNETID() Getter for SUBNETID, with configurable default
ASK_SUBNETID() Getter for SUBNETID w/ exceptions if field has no value
HAS_SUBNETID() Determine if SUBNETID has a value

vpcId

The ID of a VPC associated with the network interface.

Accessible with the following methods

Method Description
GET_VPCID() Getter for VPCID, with configurable default
ASK_VPCID() Getter for VPCID w/ exceptions if field has no value
HAS_VPCID() Determine if VPCID has a value

privateDnsName

The name of a private DNS associated with the network interface.

Accessible with the following methods

Method Description
GET_PRIVATEDNSNAME() Getter for PRIVATEDNSNAME, with configurable default
ASK_PRIVATEDNSNAME() Getter for PRIVATEDNSNAME w/ exceptions if field has no valu
HAS_PRIVATEDNSNAME() Determine if PRIVATEDNSNAME has a value

privateIpAddress

The private IP address associated with the network interface.

Accessible with the following methods

Method Description
GET_PRIVATEIPADDRESS() Getter for PRIVATEIPADDRESS, with configurable default
ASK_PRIVATEIPADDRESS() Getter for PRIVATEIPADDRESS w/ exceptions if field has no va
HAS_PRIVATEIPADDRESS() Determine if PRIVATEIPADDRESS has a value

privateIpAddresses

A list of the private IP addresses associated with the network interface. Includes the privateDnsName and privateIpAddress.

Accessible with the following methods

Method Description
GET_PRIVATEIPADDRESSES() Getter for PRIVATEIPADDRESSES, with configurable default
ASK_PRIVATEIPADDRESSES() Getter for PRIVATEIPADDRESSES w/ exceptions if field has no
HAS_PRIVATEIPADDRESSES() Determine if PRIVATEIPADDRESSES has a value

publicDnsName

The name of a public DNS associated with the network interface.

Accessible with the following methods

Method Description
GET_PUBLICDNSNAME() Getter for PUBLICDNSNAME, with configurable default
ASK_PUBLICDNSNAME() Getter for PUBLICDNSNAME w/ exceptions if field has no value
HAS_PUBLICDNSNAME() Determine if PUBLICDNSNAME has a value

publicIp

The public IP address from which the network interface is reachable.

Accessible with the following methods

Method Description
GET_PUBLICIP() Getter for PUBLICIP, with configurable default
ASK_PUBLICIP() Getter for PUBLICIP w/ exceptions if field has no value
HAS_PUBLICIP() Determine if PUBLICIP has a value

ipv6Addresses

The IP addresses associated with the network interface.

Accessible with the following methods

Method Description
GET_IPV6ADDRESSES() Getter for IPV6ADDRESSES, with configurable default
ASK_IPV6ADDRESSES() Getter for IPV6ADDRESSES w/ exceptions if field has no value
HAS_IPV6ADDRESSES() Determine if IPV6ADDRESSES has a value

securityGroups

A list of the security groups associated with the network interface. Includes the groupId and groupName.

Accessible with the following methods

Method Description
GET_SECURITYGROUPS() Getter for SECURITYGROUPS, with configurable default
ASK_SECURITYGROUPS() Getter for SECURITYGROUPS w/ exceptions if field has no valu
HAS_SECURITYGROUPS() Determine if SECURITYGROUPS 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_NETWORKINTERFACES

TYPES TT_NETWORKINTERFACES TYPE STANDARD TABLE OF REF TO /AWS1/CL_INSNETWORKINTERFACE WITH DEFAULT KEY
.