Skip to content

Resource

Source code in docs_src/capo_inspector2/types/resource.py
class Resource(TypedDict, closed=True):
    type: "capo_inspector2.types.resource_type.ResourceType"
    """<p>The type of resource.</p>"""
    id: "capo_inspector2.types.non_empty_string.NonEmptyString"
    """<p>The ID of the resource.</p>"""
    partition: NotRequired["capo_inspector2.types.non_empty_string.NonEmptyString"]
    """<p>The partition of the resource.</p>"""
    region: NotRequired["capo_inspector2.types.non_empty_string.NonEmptyString"]
    """<p>The Amazon Web Services Region the impacted resource is located in.</p>"""
    tags: NotRequired["capo_inspector2.types.tag_map.TagMap"]
    """<p>The tags attached to the resource.</p>"""
    details: NotRequired["capo_inspector2.types.resource_details.ResourceDetails"]
    """<p>An object that contains details about the resource involved in a finding.</p>"""
    provider: NotRequired["capo_inspector2.types.provider.Provider"]
    """<p>The cloud provider of the resource.</p>"""
    provider_account_id: NotRequired[
        "capo_inspector2.types.provider_account_id.ProviderAccountId"
    ]
    """<p>The cloud provider account ID of the resource.</p>"""
    provider_org_id: NotRequired["capo_inspector2.types.provider_org_id.ProviderOrgId"]
    """<p>The cloud provider organization ID of the resource.</p>"""

details instance-attribute

details: NotRequired[ResourceDetails]

An object that contains details about the resource involved in a finding.

id instance-attribute

The ID of the resource.

partition instance-attribute

partition: NotRequired[NonEmptyString]

The partition of the resource.

provider instance-attribute

provider: NotRequired[Provider]

The cloud provider of the resource.

provider_account_id instance-attribute

provider_account_id: NotRequired[ProviderAccountId]

The cloud provider account ID of the resource.

provider_org_id instance-attribute

provider_org_id: NotRequired[ProviderOrgId]

The cloud provider organization ID of the resource.

region instance-attribute

region: NotRequired[NonEmptyString]

The Amazon Web Services Region the impacted resource is located in.

tags instance-attribute

tags: NotRequired[TagMap]

The tags attached to the resource.

type instance-attribute

The type of resource.