Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CreateVpcEndpointConnectionNotificationCommand

Creates a connection notification for a specified VPC endpoint or VPC endpoint service. A connection notification notifies you of specific endpoint events. You must create an SNS topic to receive notifications. For more information, see Create a Topic in the Amazon Simple Notification Service Developer Guide.

You can create a connection notification for interface endpoints only.

example

Use a bare-bones client and the command you need to make an API call.

import { EC2Client, CreateVpcEndpointConnectionNotificationCommand } from "@aws-sdk/client-ec2"; // ES Modules import
// const { EC2Client, CreateVpcEndpointConnectionNotificationCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
const client = new EC2Client(config);
const command = new CreateVpcEndpointConnectionNotificationCommand(input);
const response = await client.send(command);
see

CreateVpcEndpointConnectionNotificationCommandInput for command's input shape.

see

CreateVpcEndpointConnectionNotificationCommandOutput for command's response shape.

see

config for EC2Client's config shape.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly input

input: CreateVpcEndpointConnectionNotificationCommandInput

Readonly middlewareStack

Methods

Static getEndpointParameterInstructions