Skip to content

WorkspaceResourceAssociation

Source code in docs_src/capo_workspaces/types/workspace_resource_association.py
class WorkspaceResourceAssociation(TypedDict, closed=True):
    associated_resource_id: NotRequired[
        "capo_workspaces.types.non_empty_string.NonEmptyString"
    ]
    """<p>The identifier of the associated resource.</p>"""
    associated_resource_type: NotRequired[
        "capo_workspaces.types.work_space_associated_resource_type.WorkSpaceAssociatedResourceType"
    ]
    """<p>The resource types of the associated resource.</p>"""
    created: NotRequired["capo_workspaces.types.timestamp.Timestamp"]
    """<p>The time the association is created.</p>"""
    last_updated_time: NotRequired["capo_workspaces.types.timestamp.Timestamp"]
    """<p>The time the association status was last updated.</p>"""
    state: NotRequired["capo_workspaces.types.association_state.AssociationState"]
    """<p>The status of the WorkSpace resource association.</p>"""
    state_reason: NotRequired[
        "capo_workspaces.types.association_state_reason.AssociationStateReason"
    ]
    """<p>The reason the association deployment failed.</p>"""
    workspace_id: NotRequired["capo_workspaces.types.workspace_id.WorkspaceId"]
    """<p>The identifier of the WorkSpace.</p>"""

associated_resource_id instance-attribute

associated_resource_id: NotRequired[NonEmptyString]

The identifier of the associated resource.

associated_resource_type instance-attribute

associated_resource_type: NotRequired[WorkSpaceAssociatedResourceType]

The resource types of the associated resource.

created instance-attribute

created: NotRequired[Timestamp]

The time the association is created.

last_updated_time instance-attribute

last_updated_time: NotRequired[Timestamp]

The time the association status was last updated.

state instance-attribute

state: NotRequired[AssociationState]

The status of the WorkSpace resource association.

state_reason instance-attribute

state_reason: NotRequired[AssociationStateReason]

The reason the association deployment failed.

workspace_id instance-attribute

workspace_id: NotRequired[WorkspaceId]

The identifier of the WorkSpace.