---
title: ImageBuild
description: "One build of an image version: one per Graviton generation, so a version's builds differ in chipsetGeneration. getImageBuild adds the snapshot sizes the listing lacks."
---

One build of an image version: one per Graviton generation, so a version's builds differ
in `chipsetGeneration`. `getImageBuild` adds the snapshot sizes the listing lacks.

## Properties

### architecture

```ts
architecture: string;
```

***

### buildId

```ts
buildId: string;
```

What `getImageBuild` takes, and nothing else in the API mints one.

***

### buildState

```ts
buildState: string;
```

`buildState`, as the service spells it.

***

### chipset

```ts
chipset: string;
```

***

### chipsetGeneration

```ts
chipsetGeneration: string;
```

***

### codeInstallSizeInBytes?

```ts
optional codeInstallSizeInBytes?: number;
```

`snapshotBuild.codeInstallSizeInBytes`, from `getImageBuild` only.

***

### createdAt

```ts
createdAt: number;
```

Unix seconds.

***

### diskSnapshotSizeInBytes?

```ts
optional diskSnapshotSizeInBytes?: number;
```

`snapshotBuild.diskSnapshotSizeInBytes`, from `getImageBuild` only.

***

### imageArn

```ts
imageArn: string;
```

***

### imageVersion

```ts
imageVersion: string;
```

***

### memorySnapshotSizeInBytes?

```ts
optional memorySnapshotSizeInBytes?: number;
```

`snapshotBuild.memorySnapshotSizeInBytes`, from `getImageBuild` only, and only when the
service reported it.

***

### stateReason?

```ts
optional stateReason?: string;
```

Why the build is in this state, when the service said: where a failed build's reason
lives.

## 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.