Creates a deployment group to which application revisions are deployed.
post/#X-Amz-Target=CodeDeploy_20141006.CreateDeploymentGroup
Headers
X-Amz-Target'CodeDeploy_20141006.CreateDeploymentGroup' required
Request body
applicationNamestring required
The name of an CodeDeploy application associated with the IAM user or Amazon Web Services account.
deploymentGroupNamestring required
The name of a new deployment group for the specified application.
deploymentConfigNamestring
<p>If specified, the deployment configuration name can be either one of the predefined configurations provided with CodeDeploy or a custom deployment configuration that you create by calling the create deployment configuration operation.</p> <p> <code>CodeDeployDefault.OneAtATime</code> is the default deployment configuration. It is used if a configuration isn't specified for the deployment or deployment group.</p> <p>For more information about the predefined deployment configurations in CodeDeploy, see <a href="https://docs.aws.amazon.com/codedeploy/latest/userguide/deployment-configurations.html">Working with Deployment Configurations in CodeDeploy</a> in the <i>CodeDeploy User Guide</i>.</p>
autoScalingGroupsAutoScalingGroupName[]
A list of associated Amazon EC2 Auto Scaling groups.
serviceRoleArnstring required
A service role Amazon Resource Name (ARN) that allows CodeDeploy to act on the user's behalf when interacting with Amazon Web Services services.
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
deploymentGroupIdstring
A unique deployment group ID.