interface CfnVPCEndpointConnectionNotificationProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.EC2.CfnVPCEndpointConnectionNotificationProps |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsec2#CfnVPCEndpointConnectionNotificationProps |
![]() | software.amazon.awscdk.services.ec2.CfnVPCEndpointConnectionNotificationProps |
![]() | aws_cdk.aws_ec2.CfnVPCEndpointConnectionNotificationProps |
![]() | 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
Name | Type | Description |
---|---|---|
connection | string[] | The endpoint events for which to receive notifications. |
connection | string | The ARN of the SNS topic for the notifications. |
service | string | The ID of the endpoint service. |
vpc | string | The 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.