Skip to content

Resource

Source code in docs_src/capo_resiliencehubv2/types/resource.py
class Resource(TypedDict, closed=True):
    identifier: "str"
    """<p>The identifier of the resource.</p>"""
    aws_region: NotRequired["capo_resiliencehubv2.types.aws_region.AwsRegion"]
    """<p>The AWS Region where the resource is located.</p>"""
    aws_account_id: NotRequired[
        "capo_resiliencehubv2.types.aws_account_id.AwsAccountId"
    ]
    """<p>The AWS account ID that owns the resource.</p>"""
    resource_type: NotRequired["str"]
    """<p>The type of the resource.</p>"""
    availability_zone_id: NotRequired["str"]
    """<p>The Availability Zone ID of the Availability Zone that hosts the resource, such as use1-az1. The Availability Zone ID is consistent across Amazon Web Services (AWS) accounts, unlike the Availability Zone name.</p>"""
    availability_zone_name: NotRequired["str"]
    """<p>The name of the Availability Zone that hosts the resource, such as us-west-2a.</p>"""
    containment_parent_id: NotRequired["str"]
    """<p>The identifier of the single parent resource that contains this resource, used to represent containment relationships in the resource topology. A resource has at most one containment parent.</p>"""
    logical_resource_group_id: NotRequired["str"]
    """<p>The identifier of the logical resource group that this resource belongs to. Resources that share this identifier are managed as a single unit.</p>"""

availability_zone_id instance-attribute

availability_zone_id: NotRequired[str]

The Availability Zone ID of the Availability Zone that hosts the resource, such as use1-az1. The Availability Zone ID is consistent across Amazon Web Services (AWS) accounts, unlike the Availability Zone name.

availability_zone_name instance-attribute

availability_zone_name: NotRequired[str]

The name of the Availability Zone that hosts the resource, such as us-west-2a.

aws_account_id instance-attribute

aws_account_id: NotRequired[AwsAccountId]

The AWS account ID that owns the resource.

aws_region instance-attribute

aws_region: NotRequired[AwsRegion]

The AWS Region where the resource is located.

containment_parent_id instance-attribute

containment_parent_id: NotRequired[str]

The identifier of the single parent resource that contains this resource, used to represent containment relationships in the resource topology. A resource has at most one containment parent.

identifier instance-attribute

identifier: str

The identifier of the resource.

logical_resource_group_id instance-attribute

logical_resource_group_id: NotRequired[str]

The identifier of the logical resource group that this resource belongs to. Resources that share this identifier are managed as a single unit.

resource_type instance-attribute

resource_type: NotRequired[str]

The type of the resource.