amazonka-codedeploy-1.3.5: Amazon CodeDeploy SDK.

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.CodeDeploy.CreateDeployment

Contents

Description

Deploys an application revision through the specified deployment group.

See: AWS API Reference for CreateDeployment.

Synopsis

Creating a Request

createDeployment Source

Creates a value of CreateDeployment with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

cdDeploymentConfigName :: Lens' CreateDeployment (Maybe Text) Source

The name of an existing deployment configuration associated with the applicable IAM user or AWS account.

If not specified, the value configured in the deployment group will be used as the default. If the deployment group does not have a deployment configuration associated with it, then CodeDeployDefault.OneAtATime will be used by default.

cdRevision :: Lens' CreateDeployment (Maybe RevisionLocation) Source

The type of revision to deploy, along with information about the revision's location.

cdDescription :: Lens' CreateDeployment (Maybe Text) Source

A comment about the deployment.

cdDeploymentGroupName :: Lens' CreateDeployment (Maybe Text) Source

The deployment group's name.

cdIgnoreApplicationStopFailures :: Lens' CreateDeployment (Maybe Bool) Source

If set to true, then if the deployment causes the ApplicationStop deployment lifecycle event to fail to a specific instance, the deployment will not be considered to have failed to that instance at that point and will continue on to the BeforeInstall deployment lifecycle event.

If set to false or not specified, then if the deployment causes the ApplicationStop deployment lifecycle event to fail to a specific instance, the deployment will stop to that instance, and the deployment to that instance will be considered to have failed.

cdApplicationName :: Lens' CreateDeployment Text Source

The name of an existing AWS CodeDeploy application associated with the applicable IAM user or AWS account.

Destructuring the Response

createDeploymentResponse Source

Creates a value of CreateDeploymentResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Response Lenses