Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CreateEndpointGroupCommand

Create an endpoint group for the specified listener. An endpoint group is a collection of endpoints in one Amazon Web Services Region. A resource must be valid and active when you add it as an endpoint.

example

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

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

CreateEndpointGroupCommandInput for command's input shape.

see

CreateEndpointGroupCommandOutput for command's response shape.

see

config for GlobalAcceleratorClient's config shape.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly input

input: CreateEndpointGroupCommandInput

Readonly middlewareStack

Methods

Static getEndpointParameterInstructions