class Aws::OpsWorksCM::Types::StartMaintenanceRequest

@note When making an API call, you may pass StartMaintenanceRequest

data as a hash:

    {
      server_name: "ServerName", # required
      engine_attributes: [
        {
          name: "EngineAttributeName",
          value: "EngineAttributeValue",
        },
      ],
    }

@!attribute [rw] server_name

The name of the server on which to run maintenance.
@return [String]

@!attribute [rw] engine_attributes

Engine attributes that are specific to the server on which you want
to run maintenance.

**Attributes accepted in a StartMaintenance request for Chef**

* `CHEF_MAJOR_UPGRADE`\: If a Chef Automate server is eligible for
  upgrade to Chef Automate 2, add this engine attribute to a
  `StartMaintenance` request and set the value to `true` to upgrade
  the server to Chef Automate 2. For more information, see [Upgrade
  an AWS OpsWorks for Chef Automate Server to Chef Automate 2][1].

^

[1]: https://docs.aws.amazon.com/opsworks/latest/userguide/opscm-a2upgrade.html
@return [Array<Types::EngineAttribute>]

@see docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/StartMaintenanceRequest AWS API Documentation

Constants

SENSITIVE