Bedrock AgentCore Control > Structures > IamPrincipal IamPrincipal¶ Structure Class¶ IamPrincipal dataclass ¶ An IAM principal specification for rule matching. Attributes¶ arn instance-attribute ¶ arn: 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 class-attribute instance-attribute ¶ operator: str | None = None The match operator. StringEquals requires an exact match. StringLike supports wildcard patterns using * and ?.