Skip to content

IamPrincipalDict

Dictionary Type

IamPrincipalDict

Bases: TypedDict

Dictionary form of IamPrincipal.

Attributes

arn instance-attribute
arn: Required[str]

The Amazon Resource Name (ARN) of the IAM principal. Supports user, role, and assumed-role ARNs. Wildcards can be used with the StringLike operator.

operator instance-attribute
operator: str | None

The match operator. StringEquals requires an exact match. StringLike supports wildcard patterns using * and ?.