Skip to content

/AWS1/CL_EC2=>CREATEVPCENDPOINTCONNNOTIF()

About CreateVpcEndpointConnectionNotification

Creates a connection notification for a specified VPC endpoint or VPC endpoint service. A connection notification notifies you of specific endpoint events. You must create an SNS topic to receive notifications. For more information, see Create a Topic in the Amazon Simple Notification Service Developer Guide.

You can create a connection notification for interface endpoints only.

Method Signature

IMPORTING

Required arguments:

IV_CONNECTIONNOTIFICATIONARN TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The ARN of the SNS topic for the notifications.

IT_CONNECTIONEVENTS TYPE /AWS1/CL_EC2VALUESTRINGLIST_W=>TT_VALUESTRINGLIST TT_VALUESTRINGLIST

The endpoint events for which to receive notifications. Valid values are Accept, Connect, Delete, and Reject.

Optional arguments:

IV_DRYRUN TYPE /AWS1/EC2BOOLEAN /AWS1/EC2BOOLEAN

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

IV_SERVICEID TYPE /AWS1/EC2VPCENDPOINTSERVICEID /AWS1/EC2VPCENDPOINTSERVICEID

The ID of the endpoint service.

IV_VPCENDPOINTID TYPE /AWS1/EC2VPCENDPOINTID /AWS1/EC2VPCENDPOINTID

The ID of the endpoint.

IV_CLIENTTOKEN TYPE /AWS1/EC2STRING /AWS1/EC2STRING

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_EC2CREVPCENDPTCXNNT01 /AWS1/CL_EC2CREVPCENDPTCXNNT01