Condition

sealed class Condition

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

Inheritors

Types

Link copied to clipboard
data class MatchPaths(val value: MatchPaths) : Condition

A condition that matches on the request path.

Link copied to clipboard
data class MatchPrincipals(val value: MatchPrincipals) : Condition

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

Link copied to clipboard

Functions

Link copied to clipboard

Casts this Condition as a MatchPaths and retrieves its aws.sdk.kotlin.services.bedrockagentcorecontrol.model.MatchPaths value. Throws an exception if the Condition is not a MatchPaths.

Link copied to clipboard
Link copied to clipboard