ResourceV2 - Amazon GuardDuty
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

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 | EKS_CLUSTER | KUBERNETES_WORKLOAD | CONTAINER | ECS_CLUSTER | ECS_TASK | AUTOSCALING_AUTO_SCALING_GROUP | IAM_INSTANCE_PROFILE | CLOUDFORMATION_STACK | EC2_LAUNCH_TEMPLATE | EC2_VPC | EC2_IMAGE

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: