AWS::EC2::VPCEndpointConnectionNotificationSpecifies a connection notification for a 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](https://docs.aws.amazon.com/sns/latest/dg/CreateTopic.html) in the *Amazon Simple Notification Service Developer Guide* . You can create a connection notification for interface endpoints only.
import { CfnVPCEndpointConnectionNotification } from 'aws-cdk-lib/aws-ec2';Or use the module namespace:
import * as ec2 from 'aws-cdk-lib/aws-ec2';
// ec2.CfnVPCEndpointConnectionNotificationConfiguration passed to the constructor as CfnVPCEndpointConnectionNotificationProps.
connectionEventsRequiredstring[]The endpoint events for which to receive notifications. Valid values are `Accept` , `Connect` , `Delete` , and `Reject` .
connectionNotificationArnRequiredstring | ITopicRefThe ARN of the SNS topic for the notifications.
serviceIdOptionalstring | IVPCEndpointServiceRefThe ID of the endpoint service.
vpcEndpointIdOptionalstringThe ID of the endpoint.
This L1 construct maps directly to the following CloudFormation resource type.
Everything you need to know about Amazon EC2 on one page. HD quality, print-friendly.
Download Free Infographicaws-ec2AWS::EC2::VPCEndpointConnectionNotification