Skip to content

Bedrock Agentcore Control  >  Enums  >  EnforcementMode

EnforcementMode

Enum Class

EnforcementMode

Bases: UnknownEnumMixin, StrEnum

The enforcement mode for a policy. Run this policy in LOG_ONLY mode to collect data on how it affects your application. Once you are satisfied with the data gathered, switch the policy to ACTIVE.

Attributes

ACTIVE class-attribute instance-attribute
ACTIVE = 'ACTIVE'
LOG_ONLY class-attribute instance-attribute
LOG_ONLY = 'LOG_ONLY'