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 areAccept
,Connect
,Delete
, andReject
.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.
- Link:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.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
, andReject
.
- connection_notification_arn
The ARN of the SNS topic for the notifications.
- service_id
The ID of the endpoint service.
- vpc_endpoint_id
The ID of the endpoint.