/AWS1/CL_EVB=>CREATEENDPOINT()
¶
About CreateEndpoint¶
Creates a global endpoint. Global endpoints improve your application's availability by making it regional-fault tolerant. To do this, you define a primary and secondary Region with event buses in each Region. You also create a Amazon RouteĀ 53 health check that will tell EventBridge to route events to the secondary Region when an "unhealthy" state is encountered and events will be routed back to the primary Region when the health check reports a "healthy" state.
Method Signature¶
IMPORTING¶
Required arguments:¶
IV_NAME
TYPE /AWS1/EVBENDPOINTNAME
/AWS1/EVBENDPOINTNAME
¶
The name of the global endpoint. For example,
"Name":"us-east-2-custom_bus_A-endpoint"
.
IO_ROUTINGCONFIG
TYPE REF TO /AWS1/CL_EVBROUTINGCONFIG
/AWS1/CL_EVBROUTINGCONFIG
¶
Configure the routing policy, including the health check and secondary Region..
IT_EVENTBUSES
TYPE /AWS1/CL_EVBENDPOINTEVENTBUS=>TT_ENDPOINTEVENTBUSLIST
TT_ENDPOINTEVENTBUSLIST
¶
Define the event buses used.
The names of the event buses must be identical in each Region.
Optional arguments:¶
IV_DESCRIPTION
TYPE /AWS1/EVBENDPOINTDESCRIPTION
/AWS1/EVBENDPOINTDESCRIPTION
¶
A description of the global endpoint.
IO_REPLICATIONCONFIG
TYPE REF TO /AWS1/CL_EVBREPLICATIONCONFIG
/AWS1/CL_EVBREPLICATIONCONFIG
¶
Enable or disable event replication. The default state is
ENABLED
which means you must supply aRoleArn
. If you don't have aRoleArn
or you don't want event replication enabled, set the state toDISABLED
.
IV_ROLEARN
TYPE /AWS1/EVBIAMROLEARN
/AWS1/EVBIAMROLEARN
¶
The ARN of the role used for replication.