AWS SDK for .NET Documentation
CreateDeployment Method (request)
Amazon ► Amazon.OpsWorks ► AmazonOpsWorks ► CreateDeployment(CreateDeploymentRequest)
Did this page help you? Yes No Tell us about it...
Deploys a stack or app.

- App deployment generates a
  CopyC#

      deploy

  event, which runs the associated recipes and passes them a JSON stack configuration object that includes information about the app.
- Stack deployment runs the
  CopyC#

      deploy

  recipes but does not raise an event.

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.

Declaration Syntax

C#

    CreateDeploymentResponse CreateDeployment(
    	CreateDeploymentRequest request
    )

Parameters

request (CreateDeploymentRequest)
  Container for the necessary parameters to execute the CreateDeployment service method.

Return Value
The response from the CreateDeployment service method, as returned by OpsWorks.
Exceptions

Exception | Condition
--- | ---
ResourceNotFoundException | Indicates that a resource was not found.
ValidationException | Indicates that a request was invalid.

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)