AWS CloudFormation
User Guide (API Version 2010-05-15)

AWS::EC2::VPCEndpointConnectionNotification

Creates a connection notification for the 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 CreateVpcEndpointConnectionNotification.

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

{ "Type" : "AWS::EC2::VPCEndpointConnectionNotification", "Properties" : { "ConnectionEvents" : [ String, ... ], "VPCEndpointId" : String, "ServiceId" : String, "ConnectionNotificationArn" : String } }

YAML

Type: "AWS::EC2::VPCEndpointConnectionNotification" Properties: ConnectionEvents: - String VPCEndpointId: String ServiceId: String ConnectionNotificationArn: String

Properties

ConnectionEvents

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

Required: Yes

Type: List of String values

Update requires: No interruption

ConnectionNotificationArn

The ARN of the SNS topic for the notifications.

Required: Yes

Type: String

Update requires: No interruption

ServiceId

The ID of the endpoint service.

Required: No

Type: String

Update requires: No interruption

VPCEndpointId

The ID of the endpoint.

Required: No

Type: String

Update requires: No interruption

Return Values

Ref

When you pass the logical ID of an AWS::EC2::VPCEndpointConnectionNotification resource to the intrinsic Ref function, the function returns the ID of the connection notification.

For more information about using the Ref function, see Ref.