Skip to content

Principal

Source code in docs_src/capo_service_catalog/types/principal.py
class Principal(TypedDict, closed=True):
    principal_arn: NotRequired["capo_service_catalog.types.principal_arn.PrincipalARN"]
    """<p>The ARN of the principal (user, role, or group). This field allows for an ARN with no <code>accountID</code>, with or without wildcard characters if the <code>PrincipalType</code> is an <code>IAM_PATTERN</code>. </p> <p>For more information, review <a href="https://docs.aws.amazon.com/cli/latest/reference/servicecatalog/associate-principal-with-portfolio.html#options">associate-principal-with-portfolio</a> in the Amazon Web Services CLI Command Reference. </p>"""
    principal_type: NotRequired[
        "capo_service_catalog.types.principal_type.PrincipalType"
    ]
    """<p>The principal type. The supported value is <code>IAM</code> if you use a fully defined ARN, or <code>IAM_PATTERN</code> if you use an ARN with no <code>accountID</code>, with or without wildcard characters. </p>"""

principal_arn instance-attribute

principal_arn: NotRequired[PrincipalARN]

The ARN of the principal (user, role, or group). This field allows for an ARN with no accountID, with or without wildcard characters if the PrincipalType is an IAM_PATTERN.

For more information, review associate-principal-with-portfolio in the Amazon Web Services CLI Command Reference.

principal_type instance-attribute

principal_type: NotRequired[PrincipalType]

The principal type. The supported value is IAM if you use a fully defined ARN, or IAM_PATTERN if you use an ARN with no accountID, with or without wildcard characters.