This repository has been archived on 2026-04-30. You can view files and clone it, but cannot push or open issues or pull requests.
next-deploy/packages/aws-component/types.d.ts

25 lines
847 B
TypeScript

import { PublicDirectoryCache } from '@next-deploy/aws-s3/types';
import { CloudFrontInputs } from '@next-deploy/aws-cloudfront/types';
import { DomainType } from '@next-deploy/aws-domain/types';
type AwsComponentInputs = BaseDeploymentOptions & {
nextStaticDir?: string;
bucketName?: string;
bucketRegion?: string;
publicDirectoryCache?: PublicDirectoryCache;
memory?: number | { [key in LambdaType]: number };
timeout?: number | { [key in LambdaType]: number };
name?: string | { [key in LambdaType]: string };
runtime?: string | { [key in LambdaType]: string };
description?: string | { [key in LambdaType]: string };
policy?: string;
domainType?: DomainType;
cloudfront?: CloudFrontInputs;
};
type LambdaType = 'requestLambda' | 'responseLambda';
type DeploymentResult = {
appUrl: string;
bucketName: string;
};