Class: Aws::OpsWorksCM::Types::StartMaintenanceRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-opsworkscm/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#engine_attributesArray<Types::EngineAttribute>

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]: docs.aws.amazon.com/opsworks/latest/userguide/opscm-a2upgrade.html

Returns:



1371
1372
1373
1374
1375
1376
# File 'lib/aws-sdk-opsworkscm/types.rb', line 1371

class StartMaintenanceRequest < Struct.new(
  :server_name,
  :engine_attributes)
  SENSITIVE = []
  include Aws::Structure
end

#server_nameString

The name of the server on which to run maintenance.

Returns:

  • (String)


1371
1372
1373
1374
1375
1376
# File 'lib/aws-sdk-opsworkscm/types.rb', line 1371

class StartMaintenanceRequest < Struct.new(
  :server_name,
  :engine_attributes)
  SENSITIVE = []
  include Aws::Structure
end