Skip to content

Relationship

Source code in docs_src/capo_config_service/types/relationship.py
class Relationship(TypedDict, closed=True):
    resource_type: NotRequired["capo_config_service.types.resource_type.ResourceType"]
    """<p>The resource type of the related resource.</p>"""
    resource_id: NotRequired["capo_config_service.types.resource_id.ResourceId"]
    """<p>The ID of the related resource (for example, <code>sg-xxxxxx</code>).</p>"""
    resource_name: NotRequired["capo_config_service.types.resource_name.ResourceName"]
    """<p>The custom name of the related resource, if available.</p>"""
    relationship_name: NotRequired[
        "capo_config_service.types.relationship_name.RelationshipName"
    ]
    """<p>The type of relationship with the related resource.</p>"""

relationship_name instance-attribute

relationship_name: NotRequired[RelationshipName]

The type of relationship with the related resource.

resource_id instance-attribute

resource_id: NotRequired[ResourceId]

The ID of the related resource (for example, sg-xxxxxx).

resource_name instance-attribute

resource_name: NotRequired[ResourceName]

The custom name of the related resource, if available.

resource_type instance-attribute

resource_type: NotRequired[ResourceType]

The resource type of the related resource.