

# IamInstanceProfileV2
<a name="API_IamInstanceProfileV2"></a>

Contains information about the IAM instance profile involved in a GuardDuty finding, including unique identifiers of the Amazon EC2 instances.

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

 ** ec2InstanceUids **   <a name="guardduty-Type-IamInstanceProfileV2-ec2InstanceUids"></a>
A list of unique identifiers for the compromised Amazon EC2 instances that share the same IAM instance profile.  
Type: Array of strings  
Array Members: Minimum number of 0 items. Maximum number of 25 items.  
Length Constraints: Minimum length of 0. Maximum length of 256.  
Required: No

## See Also
<a name="API_IamInstanceProfileV2_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/IamInstanceProfileV2) 
+  [Amazon SDK for Java V2](https://docs.amazonaws.cn/goto/SdkForJavaV2/guardduty-2017-11-28/IamInstanceProfileV2) 
+  [Amazon SDK for Ruby V3](https://docs.amazonaws.cn/goto/SdkForRubyV3/guardduty-2017-11-28/IamInstanceProfileV2) 