Skip to content

Principal

Source code in docs_src/capo_ram/types/principal.py
class Principal(TypedDict, closed=True):
    id: NotRequired["capo_ram.types.string.String"]
    """<p>The ID of the principal that can be associated with a resource share.</p>"""
    resource_share_arn: NotRequired["capo_ram.types.string.String"]
    """<p>The <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Name (ARN)</a> of a resource share the principal is associated with.</p>"""
    creation_time: NotRequired["capo_ram.types.date_time.DateTime"]
    """<p>The date and time when the principal was associated with the resource share.</p>"""
    last_updated_time: NotRequired["capo_ram.types.date_time.DateTime"]
    """<p>The date and time when the association between the resource share and the principal was last updated.</p>"""
    external: NotRequired["capo_ram.types.boolean.Boolean"]
    """<p>Indicates the relationship between the Amazon Web Services account the principal belongs to and the account that owns the resource share:</p> <ul> <li> <p> <code>True</code> – The two accounts belong to same organization.</p> </li> <li> <p> <code>False</code> – The two accounts do not belong to the same organization.</p> </li> </ul>"""

creation_time instance-attribute

creation_time: NotRequired[DateTime]

The date and time when the principal was associated with the resource share.

external instance-attribute

external: NotRequired[Boolean]

Indicates the relationship between the Amazon Web Services account the principal belongs to and the account that owns the resource share:

  • True – The two accounts belong to same organization.

  • False – The two accounts do not belong to the same organization.

id instance-attribute

id: NotRequired[String]

The ID of the principal that can be associated with a resource share.

last_updated_time instance-attribute

last_updated_time: NotRequired[DateTime]

The date and time when the association between the resource share and the principal was last updated.

resource_share_arn instance-attribute

resource_share_arn: NotRequired[String]

The Amazon Resource Name (ARN) of a resource share the principal is associated with.