Skip to content

API reference / @backpack/aws-lambda / rest / JsonResultOptions

Interface: JsonResultOptions

Extended by

Properties

headers?

ts
optional headers: Partial<Record<HttpResponseHeader, string>> & object;

Type declaration

NameType
Content-Type?"application/json" | "application/problem+json"

multiValueHeaders?

ts
optional multiValueHeaders: Record<HttpResponseHeader, string[]>;

statusCode?

ts
optional statusCode: HttpStatus;