Skip to content

CoveredResource

Source code in docs_src/capo_inspector2/types/covered_resource.py
class CoveredResource(TypedDict, closed=True):
    resource_type: "capo_inspector2.types.coverage_resource_type.CoverageResourceType"
    """<p>The type of the covered resource.</p>"""
    resource_id: "capo_inspector2.types.resource_id.ResourceId"
    """<p>The ID of the covered resource.</p>"""
    account_id: "capo_inspector2.types.account_id.AccountId"
    """<p>The Amazon Web Services account ID of the covered resource.</p>"""
    scan_type: "capo_inspector2.types.scan_type.ScanType"
    """<p>The Amazon Inspector scan type covering the resource.</p>"""
    scan_status: NotRequired["capo_inspector2.types.scan_status.ScanStatus"]
    """<p>The status of the scan covering the resource.</p>"""
    resource_metadata: NotRequired[
        "capo_inspector2.types.resource_scan_metadata.ResourceScanMetadata"
    ]
    """<p>An object that contains details about the metadata.</p>"""
    last_scanned_at: NotRequired[
        "capo_inspector2.types.date_time_timestamp.DateTimeTimestamp"
    ]
    """<p>The date and time the resource was last checked for vulnerabilities.</p>"""
    scan_mode: NotRequired["capo_inspector2.types.scan_mode.ScanMode"]
    """<p>The scan method that is applied to the instance.</p>"""
    provider: NotRequired["capo_inspector2.types.provider.Provider"]
    """<p>The cloud provider of the covered resource.</p>"""
    provider_account_id: NotRequired[
        "capo_inspector2.types.provider_account_id.ProviderAccountId"
    ]
    """<p>The cloud provider account ID of the covered resource.</p>"""
    provider_org_id: NotRequired["capo_inspector2.types.provider_org_id.ProviderOrgId"]
    """<p>The cloud provider organization ID of the covered resource.</p>"""
    provider_region: NotRequired["capo_inspector2.types.provider_region.ProviderRegion"]
    """<p>The cloud provider region of the covered resource.</p>"""
    provider_partition: NotRequired[
        "capo_inspector2.types.provider_partition.ProviderPartition"
    ]
    """<p>The cloud provider partition of the covered resource.</p>"""

account_id instance-attribute

account_id: AccountId

The Amazon Web Services account ID of the covered resource.

last_scanned_at instance-attribute

last_scanned_at: NotRequired[DateTimeTimestamp]

The date and time the resource was last checked for vulnerabilities.

provider instance-attribute

provider: NotRequired[Provider]

The cloud provider of the covered resource.

provider_account_id instance-attribute

provider_account_id: NotRequired[ProviderAccountId]

The cloud provider account ID of the covered resource.

provider_org_id instance-attribute

provider_org_id: NotRequired[ProviderOrgId]

The cloud provider organization ID of the covered resource.

provider_partition instance-attribute

provider_partition: NotRequired[ProviderPartition]

The cloud provider partition of the covered resource.

provider_region instance-attribute

provider_region: NotRequired[ProviderRegion]

The cloud provider region of the covered resource.

resource_id instance-attribute

resource_id: ResourceId

The ID of the covered resource.

resource_metadata instance-attribute

resource_metadata: NotRequired[ResourceScanMetadata]

An object that contains details about the metadata.

resource_type instance-attribute

resource_type: CoverageResourceType

The type of the covered resource.

scan_mode instance-attribute

scan_mode: NotRequired[ScanMode]

The scan method that is applied to the instance.

scan_status instance-attribute

scan_status: NotRequired[ScanStatus]

The status of the scan covering the resource.

scan_type instance-attribute

scan_type: ScanType

The Amazon Inspector scan type covering the resource.