FixedResponseActionConfig - Elastic Load Balancing

FixedResponseActionConfig

Information about an action that returns a custom HTTP response.

Contents

StatusCode

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

Type: String

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

Required: Yes

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

See Also

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