Skip to content

MappingRuleDict

Dictionary Type

MappingRuleDict

Bases: TypedDict

Dictionary form of MappingRule.

Attributes

claim instance-attribute
claim: Required[str]

The claim name that must be present in the token, for example, "isAdmin" or "paid".

match_type instance-attribute
match_type: Required[str]

The match condition that specifies how closely the claim value in the IdP token must match Value.

role_arn instance-attribute
role_arn: Required[str]

The role ARN.

value instance-attribute
value: Required[str]

A brief string that the claim must match, for example, "paid" or "yes".