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.
ec2_create_vpc_endpoint_connection_notification(DryRun, ServiceId,
VpcEndpointId, ConnectionNotificationArn, ConnectionEvents, ClientToken)
A list with the following syntax:
list(
ConnectionNotification = list(
ConnectionNotificationId = "string",
ServiceId = "string",
VpcEndpointId = "string",
ConnectionNotificationType = "Topic",
ConnectionNotificationArn = "string",
ConnectionEvents = list(
"string"
),
ConnectionNotificationState = "Enabled"|"Disabled"
),
ClientToken = "string"
)
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
.
The ID of the endpoint service.
The ID of the endpoint.
[required] The ARN of the SNS topic for the notifications.
[required] One or more endpoint events for which to receive notifications. Valid
values are Accept
, Connect
, Delete
, and Reject
.
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency.
svc$create_vpc_endpoint_connection_notification(
DryRun = TRUE|FALSE,
ServiceId = "string",
VpcEndpointId = "string",
ConnectionNotificationArn = "string",
ConnectionEvents = list(
"string"
),
ClientToken = "string"
)