

# InstanceMaintenanceOptionsRequest
<a name="API_InstanceMaintenanceOptionsRequest"></a>

The maintenance options for the instance.

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

 ** AutoRecovery **   
Disables the automatic recovery behavior of your instance or sets it to default. For more information, see [Simplified automatic recovery](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-recover.html#instance-configuration-recovery).  
Type: String  
Valid Values: `disabled | default`   
Required: No

## See Also
<a name="API_InstanceMaintenanceOptionsRequest_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/ec2-2016-11-15/InstanceMaintenanceOptionsRequest) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/ec2-2016-11-15/InstanceMaintenanceOptionsRequest) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/ec2-2016-11-15/InstanceMaintenanceOptionsRequest) 