The CDK Construct Library of Astro
Project description
Astro Construct Library
---The APIs of higher level constructs in this module are experimental and under active development. They are subject to non-backward compatible changes or removal in any future version. These are not subject to the Semantic Versioning model and breaking changes will be announced in the release notes. This means that while you may use them, you may need to update your source code when upgrading to a newer version of this package.
Introduction
Astro is the all-in-one web framework designed for speed. This library is supported modes, static
, lambda
and edge
, to deploy astro website to AWS.
Architecture
Static
Lambda
Edge
Static Mode
const site = new astrojsaws.StaticAstroSite(this, "AstroSite", {
staticDir: "/path/to/dist",
})
Lambda Mode
const site = new astrojsaws.LambdaAstroSite(this, "AstroSite", {
serverEntry: "/path/to/dist/server/entry.mjs",
staticDir: "/path/to/dist/client",
})
Edge Mode
const site = new astrojsaws.EdgeAstroSite(this, "AstroSite", {
serverEntry: "/path/to/dist/server/entry.mjs",
staticDir: "/path/to/dist/client",
})
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for astrojs-aws.construct-0.0.8.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b5e1a79999f178601d8b21efa538ad7634bf7c72307f15fbd71347bf0e0b3141 |
|
MD5 | b0b3a9a65299da55dc7ef6a60be22b4c |
|
BLAKE2b-256 | 8ef4c1d44dc1287369855ef79176e08711d05638d897eae6fb0509aec8278b29 |
Close
Hashes for astrojs_aws.construct-0.0.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 824a4d2e1898cc25c97500c3ba5b35ac1e0fb111b8f2319dd0df952e59d07bdc |
|
MD5 | 69dc84252ea1038b0f0e1374fca79490 |
|
BLAKE2b-256 | fa6b720efaaa5677a765d5dc049b62495d9f955158bc94bc0db6683211d9d2ed |