serverless-aws-lambda
Version:
AWS Application Load Balancer and API Gateway - Lambda dev tool for Serverless. Allows Express synthax in handlers. Supports packaging, local invoking and offline ALB, APG, S3, SNS, SQS, DynamoDB Stream server mocking.
18 lines (17 loc) • 652 B
TypeScript
import { S3LocalService, type LocalS3Object } from "./localAction";
import type { IncomingHttpHeaders, ServerResponse, IncomingMessage } from "http";
export declare class PutObjectAction extends S3LocalService {
bucket: string;
key: string;
contentType: string;
cacheControl?: string;
contentDisposition?: string;
contentEncoding?: string;
contentLanguage?: string;
websiteRedirectLocation?: string;
expires?: number;
storageClass: LocalS3Object["StorageClass"];
tagging?: string;
constructor(url: URL, headers: IncomingHttpHeaders);
exec(res: ServerResponse, req: IncomingMessage): Promise<void>;
}