Skip to content

/AWS1/CL_EVB=>CREATEAPIDESTINATION()

About CreateApiDestination

Creates an API destination, which is an HTTP invocation endpoint configured as a target for events.

API destinations do not support private destinations, such as interface VPC endpoints.

For more information, see API destinations in the EventBridge User Guide.

Method Signature

IMPORTING

Required arguments:

IV_NAME TYPE /AWS1/EVBAPIDESTINATIONNAME /AWS1/EVBAPIDESTINATIONNAME

The name for the API destination to create.

IV_CONNECTIONARN TYPE /AWS1/EVBCONNECTIONARN /AWS1/EVBCONNECTIONARN

The ARN of the connection to use for the API destination. The destination endpoint must support the authorization type specified for the connection.

IV_INVOCATIONENDPOINT TYPE /AWS1/EVBHTTPSENDPOINT /AWS1/EVBHTTPSENDPOINT

The URL to the HTTP invocation endpoint for the API destination.

IV_HTTPMETHOD TYPE /AWS1/EVBAPIDSTHTTPMETHOD /AWS1/EVBAPIDSTHTTPMETHOD

The method to use for the request to the HTTP invocation endpoint.

Optional arguments:

IV_DESCRIPTION TYPE /AWS1/EVBAPIDSTDESCRIPTION /AWS1/EVBAPIDSTDESCRIPTION

A description for the API destination to create.

IV_INVCRATELIMITPERSECOND TYPE /AWS1/EVBAPIDSTINVCRLIMPERSEC /AWS1/EVBAPIDSTINVCRLIMPERSEC

The maximum number of requests per second to send to the HTTP invocation endpoint.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_EVBCREATEAPIDSTRSP /AWS1/CL_EVBCREATEAPIDSTRSP