aws-cdk-lib.aws_ec2.CfnVPCEndpointConnectionNotificationProps

interface CfnVPCEndpointConnectionNotificationProps

LanguageType name
.NETAmazon.CDK.AWS.EC2.CfnVPCEndpointConnectionNotificationProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsec2#CfnVPCEndpointConnectionNotificationProps
Javasoftware.amazon.awscdk.services.ec2.CfnVPCEndpointConnectionNotificationProps
Pythonaws_cdk.aws_ec2.CfnVPCEndpointConnectionNotificationProps
TypeScript aws-cdk-lib » aws_ec2 » CfnVPCEndpointConnectionNotificationProps

Properties for defining a CfnVPCEndpointConnectionNotification.

Example

// 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

NameTypeDescription
connectionEventsstring[]The endpoint events for which to receive notifications.
connectionNotificationArnstringThe ARN of the SNS topic for the notifications.
serviceId?stringThe ID of the endpoint service.
vpcEndpointId?stringThe ID of the endpoint.

connectionEvents

Type: string[]

The endpoint events for which to receive notifications.

Valid values are Accept , Connect , Delete , and Reject .


connectionNotificationArn

Type: string

The ARN of the SNS topic for the notifications.


serviceId?

Type: string (optional)

The ID of the endpoint service.


vpcEndpointId?

Type: string (optional)

The ID of the endpoint.