

# AccountAffectedResource
<a name="API_AccountAffectedResource"></a>

Contains the number of findings associated with a resource.

## Contents
<a name="API_AccountAffectedResource_Contents"></a>

 ** findingCount **   <a name="guardduty-Type-AccountAffectedResource-findingCount"></a>
The number of findings associated with the resource.  
Type: Integer  
Required: No

 ** identifier **   <a name="guardduty-Type-AccountAffectedResource-identifier"></a>
The identifier of the resource.  
Type: String  
Required: No

 ** type **   <a name="guardduty-Type-AccountAffectedResource-type"></a>
The type of the resource. Possible values are `EC2_INSTANCE`, `EBS_VOLUME`, `S3_BUCKET`, `IAM_ROLE`, `IAM_USER`, `IAM_ACCESS_KEY`, `LAMBDA_FUNCTION`, `EKS_CLUSTER`, `ECS_CLUSTER`, `KUBERNETES_WORKLOAD`, `RDS_INSTANCE`, `RDS_DB_USER`, and `EC2_SECURITY_GROUP`.  
Type: String  
Valid Values: `EC2_INSTANCE | EBS_VOLUME | S3_BUCKET | IAM_ROLE | IAM_USER | IAM_ACCESS_KEY | LAMBDA_FUNCTION | EKS_CLUSTER | ECS_CLUSTER | KUBERNETES_WORKLOAD | RDS_INSTANCE | RDS_DB_USER | EC2_SECURITY_GROUP`   
Required: No

## See Also
<a name="API_AccountAffectedResource_SeeAlso"></a>

For more information about using this API in one of the language-specific Amazon SDKs, see the following:
+  [Amazon SDK for C\+\+](https://docs.amazonaws.cn/goto/SdkForCpp/guardduty-2017-11-28/AccountAffectedResource) 
+  [Amazon SDK for Java V2](https://docs.amazonaws.cn/goto/SdkForJavaV2/guardduty-2017-11-28/AccountAffectedResource) 
+  [Amazon SDK for Ruby V3](https://docs.amazonaws.cn/goto/SdkForRubyV3/guardduty-2017-11-28/AccountAffectedResource) 