CfnVPCEndpointConnectionNotificationProps

class aws_cdk.aws_ec2.CfnVPCEndpointConnectionNotificationProps(*, connection_events, connection_notification_arn, service_id=None, vpc_endpoint_id=None)

Bases: object

Properties for defining a CfnVPCEndpointConnectionNotification.

Parameters:
  • connection_events (Sequence[str]) – The endpoint events for which to receive notifications. Valid values are Accept , Connect , Delete , and Reject .

  • connection_notification_arn (str) – The ARN of the SNS topic for the notifications.

  • service_id (Optional[str]) – The ID of the endpoint service.

  • vpc_endpoint_id (Optional[str]) – The ID of the endpoint.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpcendpointconnectionnotification.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_ec2 as ec2

cfn_vPCEndpoint_connection_notification_props = ec2.CfnVPCEndpointConnectionNotificationProps(
    connection_events=["connectionEvents"],
    connection_notification_arn="connectionNotificationArn",

    # the properties below are optional
    service_id="serviceId",
    vpc_endpoint_id="vpcEndpointId"
)

Attributes

connection_events

The endpoint events for which to receive notifications.

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

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpcendpointconnectionnotification.html#cfn-ec2-vpcendpointconnectionnotification-connectionevents

connection_notification_arn

The ARN of the SNS topic for the notifications.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpcendpointconnectionnotification.html#cfn-ec2-vpcendpointconnectionnotification-connectionnotificationarn

service_id

The ID of the endpoint service.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpcendpointconnectionnotification.html#cfn-ec2-vpcendpointconnectionnotification-serviceid

vpc_endpoint_id

The ID of the endpoint.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpcendpointconnectionnotification.html#cfn-ec2-vpcendpointconnectionnotification-vpcendpointid