opsworks_create_deployment: Runs deployment or stack commands

View source: R/opsworks_operations.R

opsworks_create_deploymentR Documentation

Runs deployment or stack commands

Description

Runs deployment or stack commands. For more information, see Deploying Apps and Run Stack Commands.

See https://www.paws-r-sdk.com/docs/opsworks_create_deployment/ for full documentation.

Usage

opsworks_create_deployment(
  StackId,
  AppId = NULL,
  InstanceIds = NULL,
  LayerIds = NULL,
  Command,
  Comment = NULL,
  CustomJson = NULL
)

Arguments

StackId

[required] The stack ID.

AppId

The app ID. This parameter is required for app deployments, but not for other deployment commands.

InstanceIds

The instance IDs for the deployment targets.

LayerIds

The layer IDs for the deployment targets.

Command

[required] A DeploymentCommand object that specifies the deployment command and any associated arguments.

Comment

A user-defined comment.

CustomJson

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 and Overriding Attributes With Custom JSON.


paws.management documentation built on Sept. 12, 2024, 6:19 a.m.