Skip to content

Guardduty  >  Structures  >  ResourceV2

ResourceV2

Structure Class

ResourceV2 dataclass

Contains information about the Amazon Web Services resource that is associated with the GuardDuty finding.

Attributes

account_id class-attribute instance-attribute
account_id: str | None = None

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

cloud_partition class-attribute instance-attribute
cloud_partition: str | None = None

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

data class-attribute instance-attribute
data: ResourceData | None = None

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

name class-attribute instance-attribute
name: str | None = None

The name of the resource.

region class-attribute instance-attribute
region: str | None = None

The Amazon Web Services Region where the resource belongs.

resource_type class-attribute instance-attribute
resource_type: FindingResourceType | None = None

The type of the Amazon Web Services resource.

service class-attribute instance-attribute
service: str | None = None

The Amazon Web Services service of the resource.

tags class-attribute instance-attribute
tags: list[Tag] | None = None

Contains information about the tags associated with the resource.

uid class-attribute instance-attribute
uid: str | None = None

The unique identifier of the resource.