Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

AWS OpsWorks deploy action reference

Focus mode
AWS OpsWorks deploy action reference - AWS CodePipeline

You use an AWS OpsWorks action to deploy with OpsWorks using your pipeline.

Action type

  • Category: Deploy

  • Owner: AWS

  • Provider: OpsWorks

  • Version: 1

Configuration parameters

App

Required: Yes

The AWS OpsWorks stack. A stack is a container for your application infrastructure.

Stack

Required: Yes

The AWS OpsWorks app. The app represents the code you want to deploy and run.

Layer

Required: No

The AWS OpsWorks stack. A layer specifies the configuration and resources for a set of instances.

Input artifacts

  • Number of artifacts: 1

  • Description: This is the input artifact for your action.

Output artifacts

  • Number of artifacts: 0 to 1

  • Description: Output artifacts do not apply for this action type.

Service role permissions: AWS OpsWorks action

For AWS OpsWorks support, add the following to your policy statement:

{ "Effect": "Allow", "Action": [ "opsworks:CreateDeployment", "opsworks:DescribeApps", "opsworks:DescribeCommands", "opsworks:DescribeDeployments", "opsworks:DescribeInstances", "opsworks:DescribeStacks", "opsworks:UpdateApp", "opsworks:UpdateStack" ], "Resource": "resource_ARN" },

Example action configuration

YAML
Name: ActionName ActionTypeId: Category: Deploy Owner: AWS Version: 1 Provider: OpsWorks InputArtifacts: - Name: myInputArtifact Configuration: Stack: my-stack App: my-app
JSON
{ "Name": "ActionName", "ActionTypeId": { "Category": "Deploy", "Owner": "AWS", "Version": 1, "Provider": "OpsWorks" }, "InputArtifacts": [ { "Name": "myInputArtifact" } ], "Configuration": { "Stack": "my-stack", "App": "my-app" } }
Name: ActionName ActionTypeId: Category: Deploy Owner: AWS Version: 1 Provider: OpsWorks InputArtifacts: - Name: myInputArtifact Configuration: Stack: my-stack App: my-app

The following related resources can help you as you work with this action.

PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.