

# IamInstanceProfile
<a name="API_IamInstanceProfile"></a>

Contains information about the EC2 instance profile.

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

 ** arn **   <a name="guardduty-Type-IamInstanceProfile-arn"></a>
The profile ARN of the EC2 instance.  
Type: String  
Required: No

 ** id **   <a name="guardduty-Type-IamInstanceProfile-id"></a>
The profile ID of the EC2 instance.  
Type: String  
Required: No

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