AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::EC2::VPCEndpointConnectionNotification

CfnVPCEndpointConnectionNotification

Specifies 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

import { CfnVPCEndpointConnectionNotification } from 'aws-cdk-lib/aws-ec2';

Or use the module namespace:

import * as ec2 from 'aws-cdk-lib/aws-ec2';
// ec2.CfnVPCEndpointConnectionNotification

Properties

Configuration passed to the constructor as CfnVPCEndpointConnectionNotificationProps.

connectionEventsRequired
string[]

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

connectionNotificationArnRequired
string | ITopicRef

The ARN of the SNS topic for the notifications.

serviceIdOptional
string | IVPCEndpointServiceRef

The ID of the endpoint service.

vpcEndpointIdOptional
string

The ID of the endpoint.

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Get the Amazon EC2 Cheat Sheet

Everything you need to know about Amazon EC2 on one page. HD quality, print-friendly.

Download Free Infographic