---
title: AgentImageOptions
description: "What an agent image is derived from: the daemon binary and the build role."
---

What an agent image is derived from: the daemon binary and the build role.

## Properties

### binary

```ts
binary: Uint8Array;
```

The daemon binary's bytes, zipped into the artifact.

***

### buildRoleArn

```ts
buildRoleArn: string;
```

The build role, which must grant logs on `/aws/lambda-microvms/*`.

***

### codeArtifactUri?

```ts
optional codeArtifactUri?: string;
```

Where `buildArtifact`'s bytes were uploaded. Required by `buildImage`, ignored by the
name and artifact calls.

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