Skip to content

/AWS1/CL_OWX=>CREATEDEPLOYMENT()

About CreateDeployment

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

Required Permissions: To use this action, an IAM user must have a Deploy or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.

Method Signature

IMPORTING

Required arguments:

IV_STACKID TYPE /AWS1/OWXSTRING /AWS1/OWXSTRING

The stack ID.

IO_COMMAND TYPE REF TO /AWS1/CL_OWXDEPLOYMENTCOMMAND /AWS1/CL_OWXDEPLOYMENTCOMMAND

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

Optional arguments:

IV_APPID TYPE /AWS1/OWXSTRING /AWS1/OWXSTRING

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

IT_INSTANCEIDS TYPE /AWS1/CL_OWXSTRINGS_W=>TT_STRINGS TT_STRINGS

The instance IDs for the deployment targets.

IT_LAYERIDS TYPE /AWS1/CL_OWXSTRINGS_W=>TT_STRINGS TT_STRINGS

The layer IDs for the deployment targets.

IV_COMMENT TYPE /AWS1/OWXSTRING /AWS1/OWXSTRING

A user-defined comment.

IV_CUSTOMJSON TYPE /AWS1/OWXSTRING /AWS1/OWXSTRING

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.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_OWXCREDEPLOYMENTRSLT /AWS1/CL_OWXCREDEPLOYMENTRSLT