Elastic Load Balancing
API Reference (API Version 2015-12-01)

FixedResponseActionConfig

Information about an action that returns a custom HTTP response.

Contents

ContentType

The content type.

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

Type: String

Length Constraints: Minimum length of 0. Maximum length of 32.

Required: No

MessageBody

The message.

Type: String

Length Constraints: Minimum length of 0. Maximum length of 1024.

Required: No

StatusCode

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

Type: String

Pattern: ^(2|4|5)\d\d$

Required: Yes

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

On this page: