CfnVPCEndpointConnectionNotificationProps Struct
Properties for defining a CfnVPCEndpointConnectionNotification.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ec2 as ec2 } from 'aws-cdk-lib';
const cfnVPCEndpointConnectionNotificationProps: ec2.CfnVPCEndpointConnectionNotificationProps = {
connectionEvents: ['connectionEvents'],
connectionNotificationArn: 'connectionNotificationArn',
// the properties below are optional
serviceId: 'serviceId',
vpcEndpointId: 'vpcEndpointId',
};
Properties
connectionEventsstring[]connection_eventstyping.List[str]connectionEventsList<String>ConnectionEventsstring[]ConnectionEvents*[]*stringrequired#The endpoint events for which to receive notifications.
Valid values are Accept , Connect , Delete , and Reject .
connectionNotificationArnstring | ITopicRefconnection_notification_arntyping.Union[str, ITopicRef]connectionNotificationArnStringConnectionNotificationArnstringConnectionNotificationArninterface{}required#The ARN of the SNS topic for the notifications.
serviceIdstring | IVPCEndpointServiceRefservice_idtyping.Union[str, IVPCEndpointServiceRef]serviceIdStringServiceIdstringServiceIdinterface{}#The ID of the endpoint service.
The ID of the endpoint.