Show / Hide Table of Contents

Class InstanceType

Instance type for EC2 instances.

This class takes a literal string, good if you already know the identifier of the type you want.

stable

Synopsis

Constructors

constructor(instanceTypeIdentifier)

stable

Methods

of(instanceClass, instanceSize)

Instance type for EC2 instances.

Constructors

constructor(instanceTypeIdentifier)

stable

Declaration
constructor(instanceTypeIdentifier: string);
Parameters
instanceTypeIdentifier string

Methods

of(instanceClass, instanceSize)

Instance type for EC2 instances.

This class takes a combination of a class and size.

Be aware that not all combinations of class and size are available, and not all classes are available in all regions.

stable

Declaration
static of(instanceClass: InstanceClass, instanceSize: InstanceSize): InstanceType;
Parameters
instanceClass InstanceClass
instanceSize InstanceSize
Returns

InstanceType

Back to top Generated by DocFX