An AWS region, by its name.
Region.parse takes any well-formed region name; the five named factories cover the
regions of AWS’s first MicroVMs launch.
Accessors
Section titled “Accessors”isMeasured
Section titled “isMeasured”Get Signature
Section titled “Get Signature”get isMeasured(): boolean;Whether AWS was measured running MicroVMs here: membership in Region.measured().
Returns
Section titled “Returns”boolean
isSupported
Section titled “isSupported”Get Signature
Section titled “Get Signature”get isSupported(): boolean;Whether this is one of the five named regions, as in 1.2.
Deprecated
Section titled “Deprecated”Since 1.3.0: use isMeasured.
Returns
Section titled “Returns”boolean
Get Signature
Section titled “Get Signature”get name(): string;The wire spelling, which is also the endpoint’s middle segment.
Returns
Section titled “Returns”string
Methods
Section titled “Methods”equals()
Section titled “equals()”equals(other: Region): boolean;Whether two regions are the same one.
A method and not ===: JS compares class instances by reference, so two
Region.usEast1() calls are different objects. Named equals because that is what a
JS reader expects to reach for.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
other |
Region |
Returns
Section titled “Returns”boolean
toString()
Section titled “toString()”toString(): string;Returns
Section titled “Returns”string
apNortheast1()
Section titled “apNortheast1()”static apNortheast1(): Region;Returns
Section titled “Returns”Region
euWest1()
Section titled “euWest1()”static euWest1(): Region;Returns
Section titled “Returns”Region
measured()
Section titled “measured()”static measured(): Region[];The regions AWS was measured running MicroVMs in: the 14 the Pricing API priced on 2026-10-24.
Returns
Section titled “Returns”Region[]
parse()
Section titled “parse()”static parse(name: string): Region;Any well-formed region name, or an ERR_INVALID_ARG error for a malformed one.
The boundary a region name arrives at from an environment variable or a config file,
where it is still a string. The check is the core’s FromStr, message and all —
this is a call, not a check written here.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
name |
string |
Returns
Section titled “Returns”Region
supported()
Section titled “supported()”static supported(): Region[];The five named regions, as 1.2 returned.
Returns
Section titled “Returns”Region[]
Deprecated
Section titled “Deprecated”Since 1.3.0: AWS runs MicroVMs in more regions than these five; use
Region.measured().
unlisted()
Section titled “unlisted()”static unlisted(name: string): Region;Builds the region without the shape check, as 1.2 did.
Region.unlisted("us-east-1") equals Region.usEast1().
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
name |
string |
Returns
Section titled “Returns”Region
Deprecated
Section titled “Deprecated”Since 1.3.0: Region.parse takes any well-formed region name.
usEast1()
Section titled “usEast1()”static usEast1(): Region;Returns
Section titled “Returns”Region
usEast2()
Section titled “usEast2()”static usEast2(): Region;Returns
Section titled “Returns”Region
usWest2()
Section titled “usWest2()”static usWest2(): Region;Returns
Section titled “Returns”Region
Provenance
Section titled “Provenance”This page is generated from bindings/microvms-js/index.d.ts by TypeDoc 0.28.20 and typedoc-plugin-markdown 4.13.1, run from site/scripts/gen-reference.mjs on every pnpm run sync, so an edit made here is overwritten by the next run.
To change the page, change the doc comment in the binding’s Rust source, then regenerate the declarations with mise run dts. mise run dts:check fails when the committed file no longer matches the source.