Skip to content

Bedrock AgentCore Control  >  Enums  >  HarnessHookFailureMode

HarnessHookFailureMode

Enum Class

HarnessHookFailureMode

Bases: UnknownEnumMixin, StrEnum

The behavior when a synchronous hook target fails.

Attributes

ALLOW class-attribute instance-attribute
ALLOW = 'allow'

Specifies that the current action continues when the hook target fails.

DENY class-attribute instance-attribute
DENY = 'deny'

Specifies that the service denies the current action when the hook target fails.