Skip to content

Bedrock Agentcore Control  >  Unions  >  Condition

Condition

Union Type

Condition module-attribute

A condition that determines when a gateway rule applies. Conditions can match on principals or request paths.

Union Member Types

ConditionMatchPrincipals dataclass

A condition that matches on the identity of the caller making the request.

Attributes

value instance-attribute

ConditionMatchPaths dataclass

A condition that matches on the request path.

Attributes

value instance-attribute
value: MatchPaths

ConditionUnknown dataclass

Represents an unknown variant.

If you receive this value, you will need to update your library to receive the parsed value.

This value may not be deliberately sent.

Attributes

tag instance-attribute
tag: str