Modifies the recovery behavior of your instance to disable simplified automatic
recovery or set the recovery behavior to default. The default configuration will not
enable simplified automatic recovery for an unsupported instance type. For more
information, see Simplified automatic recovery.
example
Use a bare-bones client and the command you need to make an API call.
Modifies the recovery behavior of your instance to disable simplified automatic recovery or set the recovery behavior to default. The default configuration will not enable simplified automatic recovery for an unsupported instance type. For more information, see Simplified automatic recovery.
Use a bare-bones client and the command you need to make an API call.
import { EC2Client, ModifyInstanceMaintenanceOptionsCommand } from "@aws-sdk/client-ec2"; // ES Modules import // const { EC2Client, ModifyInstanceMaintenanceOptionsCommand } = require("@aws-sdk/client-ec2"); // CommonJS import const client = new EC2Client(config); const command = new ModifyInstanceMaintenanceOptionsCommand(input); const response = await client.send(command);
ModifyInstanceMaintenanceOptionsCommandInput for command's
input
shape.ModifyInstanceMaintenanceOptionsCommandOutput for command's
response
shape.config for EC2Client's
config
shape.