Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CreateAcceleratorCommand

Create an accelerator. An accelerator includes one or more listeners that process inbound connections and direct traffic to one or more endpoint groups, each of which includes endpoints, such as Network Load Balancers.

Global Accelerator is a global service that supports endpoints in multiple Amazon Web Services Regions but you must specify the US West (Oregon) Region to create, update, or otherwise work with accelerators. That is, for example, specify --region us-west-2 on AWS CLI commands.

example

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

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

CreateAcceleratorCommandInput for command's input shape.

see

CreateAcceleratorCommandOutput for command's response shape.

see

config for GlobalAcceleratorClient's config shape.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly input

input: CreateAcceleratorCommandInput

Readonly middlewareStack

Methods

Static getEndpointParameterInstructions