Skip to content

WafConfigurationDict

Dictionary Type

WafConfigurationDict

Bases: TypedDict

Dictionary form of WafConfiguration.

Attributes

failure_mode instance-attribute
failure_mode: str | None

The failure mode that determines how the gateway handles requests when Amazon Web Services WAF is unreachable or times out. Valid values include:

  • FAIL_CLOSE - The gateway blocks requests when Amazon Web Services WAF cannot be evaluated.

  • FAIL_OPEN - The gateway allows requests when Amazon Web Services WAF cannot be evaluated.