
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
@astro-aws/constructs
Advanced tools
Constructs for deploying your Astro project that is built using @astro-aws/adapter.
# Using NPM
npm install @astro-aws/constructs constructs aws-cdk-lib
# Using Yarn
yarn add @astro-aws/constructs constructs aws-cdk-lib
# Using PNPM
pnpm add @astro-aws/constructs constructs aws-cdk-lib
# Using Bun
bun add @astro-aws/constructs constructs aws-cdk-lib
import { Stack } from "aws-cdk-lib/core"
import type { StackProps } from "aws-cdk-lib/core"
import { AstroAWS } from "@astro-aws/constructs"
export interface AstroSiteStackProps extends StackProps {}
export class AstroSiteStack extends Stack {
public constructor(scope: Construct, id: string, props: AstroSiteStackProps) {
super(scope, id, props)
new AstroAWS(this, "AstroAWS", {
websitePath: "..", // Replace with the path to your website code.
})
}
}
All the resources created by the AstroAWS construct can be customized. We expose every prop of the resources that is customizable. The props can be set by passing them in to the cdk field on the AstroAWS construct props. Depending on the deployment method, not all of the props will be used. The constructed can be access through the cdk field on the AstroAWS construct object.
import { Stack, CfnOutput } from "aws-cdk-lib/core"
import type { StackProps } from "aws-cdk-lib/core"
import { AstroAWS } from "@astro-aws/constructs"
export interface AstroSiteStackProps extends StackProps {}
export class AstroSiteStack extends Stack {
public constructor(scope: Construct, id: string, props: AstroSiteStackProps) {
super(scope, id, props)
const astroAWS = new AstroAWS(this, "AstroAWS", {
cdk: {
lambdaFunction: {
memorySize: 1024,
},
},
websitePath: "..", // Replace with the path to your website code.
})
new CfnOutput(this, "DistributionDomainName", {
value: astroAWS.cdk.cloudfrontDistribution.distributionDomainName,
})
}
}
FAQs
Constructs for deploying an Astro application to AWS Lambda
The npm package @astro-aws/constructs receives a total of 81 weekly downloads. As such, @astro-aws/constructs popularity was classified as not popular.
We found that @astro-aws/constructs demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.