Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

ResourceV2 - Amazon GuardDuty

ResourceV2

Contains information about the AWS resource that is associated with the GuardDuty finding.

Contents

resourceType

The type of the AWS resource.

Type: String

Valid Values: EC2_INSTANCE | EC2_NETWORK_INTERFACE | S3_BUCKET | S3_OBJECT | ACCESS_KEY

Required: Yes

uid

The unique identifier of the resource.

Type: String

Required: Yes

accountId

The AWS account ID to which the resource belongs.

Type: String

Required: No

cloudPartition

The cloud partition within the AWS Region to which the resource belongs.

Type: String

Required: No

data

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

Type: ResourceData object

Required: No

name

The name of the resource.

Type: String

Required: No

region

The AWS Region where the resource belongs.

Type: String

Required: No

service

The AWS service of the resource.

Type: String

Required: No

tags

Contains information about the tags associated with the resource.

Type: Array of Tag objects

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.