AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Namespace: Amazon.OpsWorks.Model
Assembly: AWSSDK.dll
Version: (assembly version)
public class DeploymentCommand : Object
The DeploymentCommand type exposes the following members
Name | Description | |
---|---|---|
DeploymentCommand() |
Name | Type | Description | |
---|---|---|---|
Args | System.Collections.Generic.Dictionary<System.String, System.Collections.Generic.List<System.String>> |
Gets and sets the property Args.
The 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
For example, to upgrade an instance to Amazon Linux 2014.09, set { "upgrade_os_to":["Amazon Linux 2014.09"], "allow_reboot":["true"] }
|
|
Name | Amazon.OpsWorks.DeploymentCommandName |
Gets and sets the property Name.
Specifies the operation. You can specify only one command. For stacks, the following commands are available:
For apps, the following commands are available:
|
.NET Framework:
Supported in: 4.5, 4.0, 3.5
.NET for Windows Store apps:
Supported in: Windows 8