Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

FixedResponseActionConfig

import type { FixedResponseActionConfig } from "https://aws-api.deno.dev/v0.4/services/elbv2.ts?docs=full";

Information about an action that returns a custom HTTP response.

interface FixedResponseActionConfig {
ContentType?: string | null;
MessageBody?: string | null;
StatusCode: string;
}

§Properties

§
ContentType?: string | null
[src]

The content type.

Valid Values: text/plain | text/css | text/html | application/javascript | application/json

§
MessageBody?: string | null
[src]

The message.

§
StatusCode: string
[src]

The HTTP response code (2XX, 4XX, or 5XX).