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.
24 lines (23 loc) • 822 B
TypeScript
import type { IncomingHttpHeaders, IncomingMessage, ServerResponse } from "http";
import { S3LocalService, type LocalS3Object } from "./localAction";
export declare class CopyObjectAction extends S3LocalService {
bucket: string;
key: string;
sourceBucket: string;
sourceKey: string;
contentType: string;
cacheControl?: string;
contentDisposition?: string;
contentEncoding?: string;
contentLanguage?: string;
websiteRedirectLocation?: string;
expires?: number;
storageClass: LocalS3Object["StorageClass"];
metadataDirective?: string;
ifMatch?: string;
ifNoneMatch?: string;
ifModifiedSince?: number;
ifUnmodifiedSince?: number;
constructor(url: URL, headers: IncomingHttpHeaders);
exec(res: ServerResponse, req: IncomingMessage): Promise<void>;
}