Skip to content

ResourceV2

Source code in docs_src/capo_guardduty/types/resource_v2.py
class ResourceV2(TypedDict, closed=True):
    uid: NotRequired["capo_guardduty.types.string.String"]
    """<p>The unique identifier of the resource.</p>"""
    name: NotRequired["capo_guardduty.types.string.String"]
    """<p>The name of the resource.</p>"""
    account_id: NotRequired["capo_guardduty.types.string.String"]
    """<p>The Amazon Web Services account ID to which the resource belongs.</p>"""
    resource_type: NotRequired[
        "capo_guardduty.types.finding_resource_type.FindingResourceType"
    ]
    """<p>The type of the Amazon Web Services resource.</p>"""
    region: NotRequired["capo_guardduty.types.string.String"]
    """<p>The Amazon Web Services Region where the resource belongs.</p>"""
    service: NotRequired["capo_guardduty.types.string.String"]
    """<p>The Amazon Web Services service of the resource.</p>"""
    cloud_partition: NotRequired["capo_guardduty.types.string.String"]
    """<p>The cloud partition within the Amazon Web Services Region to which the resource belongs.</p>"""
    tags: NotRequired["capo_guardduty.types.tags.Tags"]
    """<p>Contains information about the tags associated with the resource.</p>"""
    data: NotRequired["capo_guardduty.types.resource_data.ResourceData"]
    """<p>Contains information about the Amazon Web Services resource associated with the activity that prompted GuardDuty to generate a finding.</p>"""

account_id instance-attribute

account_id: NotRequired[String]

The Amazon Web Services account ID to which the resource belongs.

cloud_partition instance-attribute

cloud_partition: NotRequired[String]

The cloud partition within the Amazon Web Services Region to which the resource belongs.

data instance-attribute

data: NotRequired[ResourceData]

Contains information about the Amazon Web Services resource associated with the activity that prompted GuardDuty to generate a finding.

name instance-attribute

name: NotRequired[String]

The name of the resource.

region instance-attribute

region: NotRequired[String]

The Amazon Web Services Region where the resource belongs.

resource_type instance-attribute

resource_type: NotRequired[FindingResourceType]

The type of the Amazon Web Services resource.

service instance-attribute

service: NotRequired[String]

The Amazon Web Services service of the resource.

tags instance-attribute

tags: NotRequired[Tags]

Contains information about the tags associated with the resource.

uid instance-attribute

uid: NotRequired[String]

The unique identifier of the resource.