Skip to content

IamPrincipal

Source code in docs_src/capo_bedrock_agentcore_control/types/iam_principal.py
class IamPrincipal(TypedDict, closed=True):
    arn: "capo_bedrock_agentcore_control.types.iam_principal_arn.IamPrincipalArn"
    """<p>The Amazon Resource Name (ARN) of the IAM principal. Supports user, role, and assumed-role ARNs. Wildcards can be used with the <code>StringLike</code> operator.</p>"""
    operator: NotRequired[
        "capo_bedrock_agentcore_control.types.principal_match_operator.PrincipalMatchOperator"
    ]
    """<p>The match operator. <code>StringEquals</code> requires an exact match. <code>StringLike</code> supports wildcard patterns using <code>*</code> and <code>?</code>.</p>"""

arn instance-attribute

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: NotRequired[PrincipalMatchOperator]

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