Skip to content

ImageResourceAssociation

Source code in docs_src/capo_workspaces/types/image_resource_association.py
class ImageResourceAssociation(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.image_associated_resource_type.ImageAssociatedResourceType"
    ]
    """<p>The resource type of the associated resources.</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>"""
    image_id: NotRequired["capo_workspaces.types.workspace_image_id.WorkspaceImageId"]
    """<p>The identifier of the image.</p>"""
    state: NotRequired["capo_workspaces.types.association_state.AssociationState"]
    """<p>The status of the image resource association.</p>"""
    state_reason: NotRequired[
        "capo_workspaces.types.association_state_reason.AssociationStateReason"
    ]
    """<p>The reason the association deployment failed.</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[ImageAssociatedResourceType]

The resource type of the associated resources.

created instance-attribute

created: NotRequired[Timestamp]

The time the association is created.

image_id instance-attribute

image_id: NotRequired[WorkspaceImageId]

The identifier of the image.

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 image resource association.

state_reason instance-attribute

state_reason: NotRequired[AssociationStateReason]

The reason the association deployment failed.