# @restatedev/restate-cdk

> Restate.dev CDK constructs

Latest version **1.7.0** (published 2026-06-18) · MIT license · 0 weekly downloads

## Install

```sh
npm install @restatedev/restate-cdk
pnpm add @restatedev/restate-cdk
yarn add @restatedev/restate-cdk
bun add @restatedev/restate-cdk
```

## Health

**Score 60/100 (C)** — status: active.

Positive: has types; no vulnerabilities; has provenance; high quality score.

Warnings: low downloads; no esm support.

## Facts

| | |
|---|---|
| Version | 1.7.0 |
| Published | 2026-06-18 |
| First published | 2023-11-27 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 379.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 11 |
| Author | Restate Developers |
| Maintainers | stephanewenrestate, slinkydeveloper-restatedev, asoli_restate, pavel.tcholakov, till_restate, nikrestate |

## Links

- npm: https://www.npmjs.com/package/@restatedev/restate-cdk
- Repository: https://github.com/restatedev/cdk
- Homepage: https://github.com/restatedev/cdk#readme
- Issues: https://github.com/restatedev/cdk/issues
- npm.io page: https://npm.io/package/@restatedev/restate-cdk

## Recent versions

- 1.7.0 (latest) — 2026-06-18
- 1.7.0-SNAPSHOT-20260923162838 (dev) — 2026-09-23
- 1.1.1-pre.6 (next) — 2025-02-19
- 1.7.0-SNAPSHOT-20260618211657 — 2026-06-18
- 1.6.2-SNAPSHOT-20260618195155 — 2026-06-18
- 1.6.2 — 2026-05-07
- 1.6.1-SNAPSHOT-20260506195207 — 2026-05-06
- 1.6.1-SNAPSHOT-20260506195149 — 2026-05-06
- 1.6.1-SNAPSHOT-20260506195035 — 2026-05-06
- 1.6.1-SNAPSHOT-20260506194707 — 2026-05-06
- 1.6.1 — 2026-02-11
- 1.6.1-SNAPSHOT-20260203152455 — 2026-02-03
- 1.6.1-SNAPSHOT-20260203152326 — 2026-02-03
- 1.6.1-SNAPSHOT-20260203080940 — 2026-02-03
- 1.6.1-SNAPSHOT-20260202114851 — 2026-02-02
- … 112 more at https://npm.io/package/@restatedev/restate-cdk/versions

## README

[![Documentation](https://img.shields.io/badge/doc-reference-blue)](https://docs.restate.dev)
[![Examples](https://img.shields.io/badge/view-examples-blue)](https://github.com/restatedev/examples)
[![Discord](https://img.shields.io/discord/1128210118216007792?logo=discord)](https://discord.gg/skW3AZ6uGd)
[![Twitter](https://img.shields.io/twitter/follow/restatedev.svg?style=social&label=Follow)](https://twitter.com/intent/follow?screen_name=restatedev)

# Restate CDK Construct Library

AWS Cloud Development Kit (CDK) construct library for deploying [Restate](https://restate.dev) and
Restate services on AWS.

[Restate](https://github.com/restatedev/restate) is the platform for building resilient applications
that tolerate all infrastructure faults w/o the need for a PhD. For more information on CDK, please
see [Getting started with the AWS CDK](https://docs.aws.amazon.com/cdk/v2/guide/getting_started.html).

This library helps you manage registering AWS Lambda-based Restate services in Restate environments.
It also offers basic support for creating self-hosted Restate deployments on your own AWS infrastructure.

## Installation

Inside an existing CDK project, add the library from [npm](https://www.npmjs.com/package/@restatedev/restate-cdk):

```shell
npm i @restatedev/restate-cdk
```

## Available constructs

- [`RestateCloudEnvironment`](./lib/restate-constructs/restate-cloud-environment.ts) - Supports deploying Restate
  services to an existing [Restate Cloud](https://cloud.restate.dev) environment.
- [`SingleNodeRestateDeployment`](./lib/restate-constructs/single-node-restate-deployment.ts) - Deploys a self-hosted
  Restate server running on Amazon EC2; this provides a basic single-node deployment targeted at
  development and testing
- [`ServiceDeployer`](./lib/restate-constructs/service-deployer.ts) - facilitates registration of Lambda-based service
  handlers with a Restate environment, such as a self-hosted EC2 environment

For a more detailed look, please refer to the [Restate CDK documentation](https://docs.restate.dev/deploy/services/faas/lambda/cdk).

### Examples

You can use the following templates to bootstrap your own CDK projects:

- [e2e tests in this repository](test/e2e)
- the official [Restate examples](https://github.com/restatedev/examples) repository

---
_Source: https://npm.io/package/@restatedev/restate-cdk · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
