Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ModifyInstanceMaintenanceOptionsCommand

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.

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);
see

ModifyInstanceMaintenanceOptionsCommandInput for command's input shape.

see

ModifyInstanceMaintenanceOptionsCommandOutput for command's response shape.

see

config for EC2Client's config shape.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly input

input: ModifyInstanceMaintenanceOptionsCommandInput

Readonly middlewareStack

Methods

Static getEndpointParameterInstructions