NAME
Paws::OpsWorksCM::StartMaintenance - Arguments for method StartMaintenance on Paws::OpsWorksCM
DESCRIPTION
This class represents the parameters used for calling the method StartMaintenance on the AWS OpsWorks CM service. Use the attributes of this class as arguments to method StartMaintenance.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to StartMaintenance.
SYNOPSIS
my $opsworks-cm = Paws->service('OpsWorksCM');
my $StartMaintenanceResponse = $opsworks -cm->StartMaintenance(
ServerName => 'MyServerName',
EngineAttributes => [
{
Name => 'MyEngineAttributeName', # max: 10000; OPTIONAL
Value => 'MyEngineAttributeValue', # max: 10000; OPTIONAL
},
...
], # OPTIONAL
);
# Results:
my $Server = $StartMaintenanceResponse->Server;
# Returns a L<Paws::OpsWorksCM::StartMaintenanceResponse> object.
Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/opsworks-cm/latest/APIReference/API_StartMaintenance.html
ATTRIBUTES
EngineAttributes => ArrayRef[Paws::OpsWorksCM::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 aStartMaintenance
request and set the value totrue
to upgrade the server to Chef Automate 2. For more information, see Upgrade an AWS OpsWorks for Chef Automate Server to Chef Automate 2 (https://docs.aws.amazon.com/opsworks/latest/userguide/opscm-a2upgrade.html).
REQUIRED ServerName => Str
The name of the server on which to run maintenance.
SEE ALSO
This class forms part of Paws, documenting arguments for method StartMaintenance in Paws::OpsWorksCM
BUGS and CONTRIBUTIONS
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues