AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Container for the parameters to the CreateDeployment operation. Deploys an application revision through the specified deployment group.
Namespace: Amazon.CodeDeploy.Model
Assembly: AWSSDK.CodeDeploy.dll
Version: 3.x.y.z
public class CreateDeploymentRequest : AmazonCodeDeployRequest IAmazonWebServiceRequest
The CreateDeploymentRequest type exposes the following members
Name | Description | |
---|---|---|
CreateDeploymentRequest() |
Name | Type | Description | |
---|---|---|---|
ApplicationName | System.String |
Gets and sets the property ApplicationName. The name of an CodeDeploy application associated with the user or Amazon Web Services account. |
|
AutoRollbackConfiguration | Amazon.CodeDeploy.Model.AutoRollbackConfiguration |
Gets and sets the property AutoRollbackConfiguration. Configuration information for an automatic rollback that is added when a deployment is created. |
|
DeploymentConfigName | System.String |
Gets and sets the property DeploymentConfigName. The name of a deployment configuration associated with the user or Amazon Web Services account.
If not specified, the value configured in the deployment group is used as the default.
If the deployment group does not have a deployment configuration associated with it,
|
|
DeploymentGroupName | System.String |
Gets and sets the property DeploymentGroupName. The name of the deployment group. |
|
Description | System.String |
Gets and sets the property Description. A comment about the deployment. |
|
FileExistsBehavior | Amazon.CodeDeploy.FileExistsBehavior |
Gets and sets the property FileExistsBehavior. Information about how CodeDeploy handles files that already exist in a deployment target location but weren't part of the previous successful deployment.
The
|
|
IgnoreApplicationStopFailures | System.Boolean |
Gets and sets the property IgnoreApplicationStopFailures.
If true, then if an If false or not specified, then if a lifecycle event fails during a deployment to an instance, that deployment fails. If deployment to that instance is part of an overall deployment and the number of healthy hosts is not less than the minimum number of healthy hosts, then a deployment to the next instance is attempted.
During a deployment, the CodeDeploy agent runs the scripts specified for
If the cause of the failure is a script from the last successful deployment that
will never run successfully, create a new deployment and use |
|
OverrideAlarmConfiguration | Amazon.CodeDeploy.Model.AlarmConfiguration |
Gets and sets the property OverrideAlarmConfiguration.
Allows you to specify information about alarms associated with a deployment. The alarm
configuration that you specify here will override the alarm configuration at the deployment
group level. Consider overriding the alarm configuration if you have set up alarms
at the deployment group level that are causing deployment failures. In this case,
you would call
If you specify an |
|
Revision | Amazon.CodeDeploy.Model.RevisionLocation |
Gets and sets the property Revision. The type and location of the revision to deploy. |
|
TargetInstances | Amazon.CodeDeploy.Model.TargetInstances |
Gets and sets the property TargetInstances. Information about the instances that belong to the replacement environment in a blue/green deployment. |
|
UpdateOutdatedInstancesOnly | System.Boolean |
Gets and sets the property UpdateOutdatedInstancesOnly. Indicates whether to deploy to all instances or only to instances that are not running the latest application revision. |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5