Astro component lets you deploy Astro sites on AWS.
Constructor
sst.config.ts
Parameters
path
Path to the Astro site directory relative to
sst.config.ts.domain
Set a custom domain for your Astro site.
link
Link resources to your Astro site.
environment
Set environment variables for your Astro site.
Prefix with
PUBLIC_ to access variables on the client-side.Properties
url
nodes
SDK
Access linked resources:src/pages/index.astro
Examples
Change the path
sst.config.ts
Add a custom domain
sst.config.ts
Link resources
sst.config.ts