FixedResponseActionConfig - Elastic Load Balancing
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

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: