![]() |
![]()
| ![]() |
![]()
NAMEPaws::OpsWorks::DeploymentCommand USAGEThis class represents one of two things: Arguments in a call to a service Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object. As an example, if Att1 is expected to be a Paws::OpsWorks::DeploymentCommand object: $service_obj->Method(Att1 => { Args => $value, ..., Name => $value }); Results returned from an API call Use accessors for each attribute. If Att1 is expected to be an Paws::OpsWorks::DeploymentCommand object: $result = $service_obj->Method(...); $result->Att1->Args DESCRIPTIONUsed to specify a stack or deployment command. ATTRIBUTESArgs => Paws::OpsWorks::DeploymentCommandArgsThe arguments of those commands that take arguments. It should be set to a JSON object with the following format: "{"arg_name1" : ["value1", "value2", ...], "arg_name2" : ["value1", "value2", ...], ...}" The "update_dependencies" command takes two arguments:
For example, to upgrade an instance to Amazon Linux 2016.09, set "Args" to the following. "{ "upgrade_os_to":["Amazon Linux 2016.09"], "allow_reboot":["true"] }" REQUIRED Name => StrSpecifies the operation. You can specify only one command. For stacks, the following commands are available:
The update_dependencies and install_dependencies commands are supported only for Linux instances. You can run the commands successfully on Windows instances, but they do nothing. For apps, the following commands are available:
SEE ALSOThis class forms part of Paws, describing an object used in Paws::OpsWorks BUGS and CONTRIBUTIONSThe source code is located here: <https://github.com/pplu/aws-sdk-perl> Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>
|