@restatedev/restate-cdk 0.4.1 → 0.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +26 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,7 +1,31 @@
|
|
|
1
1
|
[](https://docs.restate.dev)
|
|
2
|
-
[](https://github.com/restatedev/examples)
|
|
3
|
+
[](https://discord.gg/skW3AZ6uGd)
|
|
3
4
|
[](https://twitter.com/intent/follow?screen_name=restatedev)
|
|
4
5
|
|
|
5
6
|
# Restate CDK support
|
|
6
7
|
|
|
7
|
-
CDK construct library for deploying [Restate](https://restate.dev) and Restate services on
|
|
8
|
+
AWS Cloud Development Kit (CDK) construct library for deploying [Restate](https://restate.dev) and Restate services on
|
|
9
|
+
AWS. This library helps you when deploying Restate services to AWS Lambda as well as for managing self-hosted Restate
|
|
10
|
+
deployments on your own infrastructure. For more information on CDK, please
|
|
11
|
+
see [Getting started with the AWS CDK](https://docs.aws.amazon.com/cdk/v2/guide/getting_started.html).
|
|
12
|
+
|
|
13
|
+
## Available constructs
|
|
14
|
+
|
|
15
|
+
- [`LambdaServiceRegistry`](./lib/restate-constructs/lambda-service-registry.ts) - A collection of Lambda-deployed
|
|
16
|
+
Restate services, this construct automatically registers the latest function version as a new deployment revision in a
|
|
17
|
+
Restate instance
|
|
18
|
+
- [`SingleNodeRestateInstance`](./lib/restate-constructs/single-node-restate-instance.ts) - Deploys a self-hosted
|
|
19
|
+
Restate instance on EC2; note this is a single-node deployment targeted at development and testing
|
|
20
|
+
- [`RestateCloudEndpoint`](./lib/restate-constructs/restate-cloud-endpoint.ts) - A Restate Cloud instance
|
|
21
|
+
|
|
22
|
+
For a more detailed overview, please see the [Restate CDK documentation](https://docs.restate.dev/services/deployment/cdk).
|
|
23
|
+
|
|
24
|
+
### Examples
|
|
25
|
+
|
|
26
|
+
You can use the following examples as references for your own CDK projects:
|
|
27
|
+
|
|
28
|
+
- [hello-world-lambda-cdk](https://github.com/restatedev/examples/tree/main/kotlin/hello-world-lambda-cdk) - provides a
|
|
29
|
+
simple example of a Lambda-deployed Kotlin handler
|
|
30
|
+
- [Restate Holiday](https://github.com/restatedev/restate-holiday) - a more complex example of a fictional reservation
|
|
31
|
+
service demonstrating the Saga orchestration pattern
|