Skip to content

/AWS1/CL_GACPORTMAPPING

Returns the ports and associated IP addresses and ports of Amazon EC2 instances in your virtual private cloud (VPC) subnets. Custom routing is a port mapping protocol in Global Accelerator that statically associates port ranges with VPC subnets, which allows Global Accelerator to route to specific instances and ports within one or more subnets.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_acceleratorport TYPE /AWS1/GACPORTNUMBER /AWS1/GACPORTNUMBER

The accelerator port.

iv_endpointgrouparn TYPE /AWS1/GACGENERICSTRING /AWS1/GACGENERICSTRING

The Amazon Resource Name (ARN) of the endpoint group.

iv_endpointid TYPE /AWS1/GACGENERICSTRING /AWS1/GACGENERICSTRING

The IP address of the VPC subnet (the subnet ID).

io_destinationsocketaddress TYPE REF TO /AWS1/CL_GACSOCKETADDRESS /AWS1/CL_GACSOCKETADDRESS

The EC2 instance IP address and port number in the virtual private cloud (VPC) subnet.

it_protocols TYPE /AWS1/CL_GACCUSTROUTINGPROTO00=>TT_CUSTOMROUTINGPROTOCOLS TT_CUSTOMROUTINGPROTOCOLS

The protocols supported by the endpoint group.

iv_destinationtrafficstate TYPE /AWS1/GACCUSTROUTINGDSTTRFST00 /AWS1/GACCUSTROUTINGDSTTRFST00

Indicates whether or not a port mapping destination can receive traffic. The value is either ALLOW, if traffic is allowed to the destination, or DENY, if traffic is not allowed to the destination.


Queryable Attributes

AcceleratorPort

The accelerator port.

Accessible with the following methods

Method Description
GET_ACCELERATORPORT() Getter for ACCELERATORPORT, with configurable default
ASK_ACCELERATORPORT() Getter for ACCELERATORPORT w/ exceptions if field has no val
HAS_ACCELERATORPORT() Determine if ACCELERATORPORT has a value

EndpointGroupArn

The Amazon Resource Name (ARN) of the endpoint group.

Accessible with the following methods

Method Description
GET_ENDPOINTGROUPARN() Getter for ENDPOINTGROUPARN, with configurable default
ASK_ENDPOINTGROUPARN() Getter for ENDPOINTGROUPARN w/ exceptions if field has no va
HAS_ENDPOINTGROUPARN() Determine if ENDPOINTGROUPARN has a value

EndpointId

The IP address of the VPC subnet (the subnet ID).

Accessible with the following methods

Method Description
GET_ENDPOINTID() Getter for ENDPOINTID, with configurable default
ASK_ENDPOINTID() Getter for ENDPOINTID w/ exceptions if field has no value
HAS_ENDPOINTID() Determine if ENDPOINTID has a value

DestinationSocketAddress

The EC2 instance IP address and port number in the virtual private cloud (VPC) subnet.

Accessible with the following methods

Method Description
GET_DESTINATIONSOCKETADDRESS() Getter for DESTINATIONSOCKETADDRESS

Protocols

The protocols supported by the endpoint group.

Accessible with the following methods

Method Description
GET_PROTOCOLS() Getter for PROTOCOLS, with configurable default
ASK_PROTOCOLS() Getter for PROTOCOLS w/ exceptions if field has no value
HAS_PROTOCOLS() Determine if PROTOCOLS has a value

DestinationTrafficState

Indicates whether or not a port mapping destination can receive traffic. The value is either ALLOW, if traffic is allowed to the destination, or DENY, if traffic is not allowed to the destination.

Accessible with the following methods

Method Description
GET_DESTINATIONTRAFFICSTATE() Getter for DESTINATIONTRAFFICSTATE, with configurable defaul
ASK_DESTINATIONTRAFFICSTATE() Getter for DESTINATIONTRAFFICSTATE w/ exceptions if field ha
HAS_DESTINATIONTRAFFICSTATE() Determine if DESTINATIONTRAFFICSTATE 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_PORTMAPPINGS

TYPES TT_PORTMAPPINGS TYPE STANDARD TABLE OF REF TO /AWS1/CL_GACPORTMAPPING WITH DEFAULT KEY
.