class Aws::OpsWorks::Types::CreateDeploymentRequest

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

data as a hash:

    {
      stack_id: "String", # required
      app_id: "String",
      instance_ids: ["String"],
      layer_ids: ["String"],
      command: { # required
        name: "install_dependencies", # required, accepts install_dependencies, update_dependencies, update_custom_cookbooks, execute_recipes, configure, setup, deploy, rollback, start, stop, restart, undeploy
        args: {
          "String" => ["String"],
        },
      },
      comment: "String",
      custom_json: "String",
    }

@!attribute [rw] stack_id

The stack ID.
@return [String]

@!attribute [rw] app_id

The app ID. This parameter is required for app deployments, but not
for other deployment commands.
@return [String]

@!attribute [rw] instance_ids

The instance IDs for the deployment targets.
@return [Array<String>]

@!attribute [rw] layer_ids

The layer IDs for the deployment targets.
@return [Array<String>]

@!attribute [rw] command

A `DeploymentCommand` object that specifies the deployment command
and any associated arguments.
@return [Types::DeploymentCommand]

@!attribute [rw] comment

A user-defined comment.
@return [String]

@!attribute [rw] custom_json

A string that contains user-defined, custom JSON. You can use this
parameter to override some corresponding default stack configuration
JSON values. The string should be in the following format:

`"\{"key1": "value1", "key2": "value2",...\}"`

For more information about custom JSON, see [Use Custom JSON to
Modify the Stack Configuration Attributes][1] and [Overriding
Attributes With Custom JSON][2].

[1]: https://docs.aws.amazon.com/opsworks/latest/userguide/workingstacks-json.html
[2]: https://docs.aws.amazon.com/opsworks/latest/userguide/workingcookbook-json-override.html
@return [String]

@see docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CreateDeploymentRequest AWS API Documentation

Constants

SENSITIVE