Amplify Toolbox
    Preparing search index...
    type AstroAdapterOptions = {
        bodySizeLimit?: number;
        buildCommand?: string[];
        projectDir: string;
        skipBuild?: boolean;
    }
    Index

    Properties

    bodySizeLimit?: number

    Maximum request body size (bytes) Astro will accept before throwing. Default: 20 MB — matches Lambda Function URL's response-stream payload ceiling. Set to Infinity or 0 to opt out (not recommended; oversized requests then fail mid-stream at the platform boundary instead of with a clean 413).

    buildCommand?: string[]

    Override the build command. Defaults to npm run build when the user's package.json defines a build script, falling back to npx astro build.

    projectDir: string

    Project root directory (absolute).

    skipBuild?: boolean

    Skip running the build command. Useful for tests and when the caller has already produced dist/.