Skip to content

FixedResponseActionConfig

Source code in docs_src/capo_elastic_load_balancing_v2/types/fixed_response_action_config.py
class FixedResponseActionConfig(TypedDict, closed=True):
    message_body: NotRequired[
        "capo_elastic_load_balancing_v2.types.fixed_response_action_message.FixedResponseActionMessage"
    ]
    """<p>The message.</p>"""
    status_code: NotRequired[
        "capo_elastic_load_balancing_v2.types.fixed_response_action_status_code.FixedResponseActionStatusCode"
    ]
    """<p>The HTTP response code (2XX, 4XX, or 5XX).</p>"""
    content_type: NotRequired[
        "capo_elastic_load_balancing_v2.types.fixed_response_action_content_type.FixedResponseActionContentType"
    ]
    """<p>The content type.</p> <p>Valid Values: text/plain | text/css | text/html | application/javascript | application/json</p>"""

content_type instance-attribute

content_type: NotRequired[FixedResponseActionContentType]

The content type.

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

message_body instance-attribute

message_body: NotRequired[FixedResponseActionMessage]

The message.

status_code instance-attribute

status_code: NotRequired[FixedResponseActionStatusCode]

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