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. You can further know it in https://helbing.github.io/astrojs-aws/.
Usage
new astrojsaws.StaticAstroSite(this, "StaticAstroSite", {
siteDir: "/path/to/dist",
})
new astrojsaws.LambdaAstroSite(this, "LambdaAstroSite", {
serverEntry: "/path/to/dist/server/entry.mjs",
staticDir: "/path/to/dist/client",
})
new astrojsaws.EdgeAstroSite(this, "EdgeAstroSite", {
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
Hashes for astrojs-aws.construct-0.0.13.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2f723731d40ae65a965c9f9ed7eb6efd6ae13ccc935ecbebaac406268863d3cb |
|
MD5 | 24a7a96adb0138a42efc49d925dc035e |
|
BLAKE2b-256 | da836e4cad6988263afbb7293d08668fe6c780a8dea6778a790466678ca96da5 |
Hashes for astrojs_aws.construct-0.0.13-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fb66370b6664ad2e5a8fc2342b98371b9b4f3f02724a1956c58704ae64a333cb |
|
MD5 | 5bf83037d75b686b64aa6ef4fb6cae59 |
|
BLAKE2b-256 | 7c76936466579ab5fd27cc93fcb54f8b4755bb902d2ac815f96cd7ba78b7ada6 |