Skip to content

SpendPrincipal

Source code in docs_src/capo_budgets/types/spend_principal.py
class SpendPrincipal(TypedDict, closed=True):
    type: "capo_budgets.types.spend_principal_type.SpendPrincipalType"
    """<p>The kind of principal. Valid values are <code>IDENTITY_CENTER_USER</code> and <code>IAM_PRINCIPAL</code>.</p>"""
    id: "capo_budgets.types.spend_principal_input_id.SpendPrincipalInputId"
    """<p>The ID of the principal. The value depends on the principal type:</p> <ul> <li> <p>For an Identity Center user, specify the user ID.</p> </li> <li> <p>For an IAM principal, specify the ARN of the IAM root user, IAM user or role, or the STS assumed-role or federated-user ARN.</p> </li> </ul>"""

id instance-attribute

The ID of the principal. The value depends on the principal type:

  • For an Identity Center user, specify the user ID.

  • For an IAM principal, specify the ARN of the IAM root user, IAM user or role, or the STS assumed-role or federated-user ARN.

type instance-attribute

The kind of principal. Valid values are IDENTITY_CENTER_USER and IAM_PRINCIPAL.