FixedResponseActionConfig - Elastic Load Balancing
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China.

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 Amazon SDKs, see the following: