Skip to content

Resource

Source code in docs_src/capo_ecr/types/resource.py
class Resource(TypedDict, closed=True):
    details: NotRequired["capo_ecr.types.resource_details.ResourceDetails"]
    """<p>An object that contains details about the resource involved in a finding.</p>"""
    id: NotRequired["capo_ecr.types.resource_id.ResourceId"]
    """<p>The ID of the resource.</p>"""
    tags: NotRequired["capo_ecr.types.tags.Tags"]
    """<p>The tags attached to the resource.</p>"""
    type: NotRequired["capo_ecr.types.type.Type"]
    """<p>The type of resource.</p>"""

details instance-attribute

details: NotRequired[ResourceDetails]

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

id instance-attribute

id: NotRequired[ResourceId]

The ID of the resource.

tags instance-attribute

tags: NotRequired[Tags]

The tags attached to the resource.

type instance-attribute

type: NotRequired[Type]

The type of resource.