Create Vpc Endpoint Connection Notification
| ec2_create_vpc_endpoint_connection_notification | R Documentation |
Creates a connection notification for a specified VPC endpoint or VPC endpoint service¶
Description¶
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 Creating an Amazon SNS topic in the Amazon SNS Developer Guide.
You can create a connection notification for interface endpoints only.
Usage¶
ec2_create_vpc_endpoint_connection_notification(DryRun, ServiceId,
VpcEndpointId, ConnectionNotificationArn, ConnectionEvents, ClientToken)
Arguments¶
DryRunChecks 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 isUnauthorizedOperation.ServiceIdThe ID of the endpoint service.
VpcEndpointIdThe ID of the endpoint.
ConnectionNotificationArn[required] The ARN of the SNS topic for the notifications.
ConnectionEvents[required] The endpoint events for which to receive notifications. Valid values are
Accept,Connect,Delete, andReject.ClientTokenUnique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.
Value¶
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"
)