Skip to content

ResourceShareAssociation

Source code in docs_src/capo_ram/types/resource_share_association.py
class ResourceShareAssociation(TypedDict, closed=True):
    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 the resource share.</p>"""
    resource_share_name: NotRequired["capo_ram.types.string.String"]
    """<p>The name of the resource share.</p>"""
    associated_entity: NotRequired["capo_ram.types.string.String"]
    """<p>The associated entity. This can be either of the following:</p> <ul> <li> <p>For a resource association, this is the <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Name (ARN)</a> of the resource.</p> </li> <li> <p>For principal associations, this is one of the following:</p> <ul> <li> <p>The ID of an Amazon Web Services account</p> </li> <li> <p>The <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Name (ARN)</a> of an organization in Organizations</p> </li> <li> <p>The ARN of an organizational unit (OU) in Organizations</p> </li> <li> <p>The ARN of an IAM role</p> </li> <li> <p>The ARN of an IAM user</p> </li> </ul> </li> </ul>"""
    association_type: NotRequired[
        "capo_ram.types.resource_share_association_type.ResourceShareAssociationType"
    ]
    """<p>The type of entity included in this association.</p>"""
    status: NotRequired[
        "capo_ram.types.resource_share_association_status.ResourceShareAssociationStatus"
    ]
    """<p>The current status of the association.</p>"""
    status_message: NotRequired["capo_ram.types.string.String"]
    """<p>A message about the status of the association.</p>"""
    creation_time: NotRequired["capo_ram.types.date_time.DateTime"]
    """<p>The date and time when the association was created.</p>"""
    last_updated_time: NotRequired["capo_ram.types.date_time.DateTime"]
    """<p>The date and time when the association was last updated.</p>"""
    external: NotRequired["capo_ram.types.boolean.Boolean"]
    """<p>Indicates whether the principal belongs to the same organization in Organizations as the Amazon Web Services account that owns the resource share.</p>"""

associated_entity instance-attribute

associated_entity: NotRequired[String]

The associated entity. This can be either of the following:

  • For a resource association, this is the Amazon Resource Name (ARN) of the resource.

  • For principal associations, this is one of the following:

    • The ID of an Amazon Web Services account

    • The Amazon Resource Name (ARN) of an organization in Organizations

    • The ARN of an organizational unit (OU) in Organizations

    • The ARN of an IAM role

    • The ARN of an IAM user

association_type instance-attribute

association_type: NotRequired[ResourceShareAssociationType]

The type of entity included in this association.

creation_time instance-attribute

creation_time: NotRequired[DateTime]

The date and time when the association was created.

external instance-attribute

external: NotRequired[Boolean]

Indicates whether the principal belongs to the same organization in Organizations as the Amazon Web Services account that owns the resource share.

last_updated_time instance-attribute

last_updated_time: NotRequired[DateTime]

The date and time when the association was last updated.

resource_share_arn instance-attribute

resource_share_arn: NotRequired[String]

The Amazon Resource Name (ARN) of the resource share.

resource_share_name instance-attribute

resource_share_name: NotRequired[String]

The name of the resource share.

status instance-attribute

status: NotRequired[ResourceShareAssociationStatus]

The current status of the association.

status_message instance-attribute

status_message: NotRequired[String]

A message about the status of the association.