

# 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 AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/guardduty-2017-11-28/IamInstanceProfileV2) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/guardduty-2017-11-28/IamInstanceProfileV2) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/guardduty-2017-11-28/IamInstanceProfileV2) 