Changes information about a deployment group.
post/#X-Amz-Target=CodeDeploy_20141006.UpdateDeploymentGroup
Headers
X-Amz-Target'CodeDeploy_20141006.UpdateDeploymentGroup' required
Request body
applicationNamestring required
The application name that corresponds to the deployment group to update.
currentDeploymentGroupNamestring required
The current name of the deployment group.
newDeploymentGroupNamestring
The new name of the deployment group, if you want to change it.
deploymentConfigNamestring
The replacement deployment configuration name to use, if you want to change it.
autoScalingGroupsAutoScalingGroupName[]
<p>The replacement list of Auto Scaling groups to be included in the deployment group, if you want to change them.</p> <ul> <li> <p>To keep the Auto Scaling groups, enter their names or do not specify this parameter. </p> </li> <li> <p>To remove Auto Scaling groups, specify a non-null empty list of Auto Scaling group names to detach all CodeDeploy-managed Auto Scaling lifecycle hooks. For examples, see <a href="https://docs.aws.amazon.com/https:/docs.aws.amazon.com/codedeploy/latest/userguide/troubleshooting-auto-scaling.html#troubleshooting-auto-scaling-heartbeat">Amazon EC2 instances in an Amazon EC2 Auto Scaling group fail to launch and receive the error "Heartbeat Timeout"</a> in the <i>CodeDeploy User Guide</i>.</p> </li> </ul>
serviceRoleArnstring
A replacement ARN for the service role, if you want to change it.
outdatedInstancesStrategy'UPDATE' | 'IGNORE'
<p>Indicates what happens when new Amazon EC2 instances are launched mid-deployment and do not receive the deployed application revision.</p> <p>If this option is set to <code>UPDATE</code> or is unspecified, CodeDeploy initiates one or more 'auto-update outdated instances' deployments to apply the deployed application revision to the new Amazon EC2 instances.</p> <p>If this option is set to <code>IGNORE</code>, CodeDeploy does not initiate a deployment to update the new Amazon EC2 instances. This may result in instances having different revisions.</p>
Response
Success