aws deploy update-deployment-group

Changes information about a deployment group

Options

NameDescription
--application-name <string>The application name that corresponds to the deployment group to update
--current-deployment-group-name <string>The current name of the deployment group
--new-deployment-group-name <string>The new name of the deployment group, if you want to change it
--deployment-config-name <string>The replacement deployment configuration name to use, if you want to change it
--ec2-tag-filters <list>The replacement set of Amazon EC2 tags on which to filter, if you want to change them. To keep the existing tags, enter their names. To remove tags, do not enter any tag names
--on-premises-instance-tag-filters <list>The replacement set of on-premises instance tags on which to filter, if you want to change them. To keep the existing tags, enter their names. To remove tags, do not enter any tag names
--auto-scaling-groups <list>The replacement list of Auto Scaling groups to be included in the deployment group, if you want to change them. To keep the Auto Scaling groups, enter their names. To remove Auto Scaling groups, do not enter any Auto Scaling group names
--service-role-arn <string>A replacement ARN for the service role, if you want to change it
--trigger-configurations <list>Information about triggers to change when the deployment group is updated. For examples, see Edit a Trigger in a CodeDeploy Deployment Group in the AWS CodeDeploy User Guide
--alarm-configuration <structure>Information to add or change about Amazon CloudWatch alarms when the deployment group is updated
--auto-rollback-configuration <structure>Information for an automatic rollback configuration that is added or changed when a deployment group is updated
--outdated-instances-strategy <string>Indicates what happens when new EC2 instances are launched mid-deployment and do not receive the deployed application revision. If this option is set to UPDATE or is unspecified, CodeDeploy initiates one or more 'auto-update outdated instances' deployments to apply the deployed application revision to the new EC2 instances. If this option is set to IGNORE, CodeDeploy does not initiate a deployment to update the new EC2 instances. This may result in instances having different revisions
--deployment-style <structure>Information about the type of deployment, either in-place or blue/green, you want to run and whether to route deployment traffic behind a load balancer
--blue-green-deployment-configuration <structure>Information about blue/green deployment options for a deployment group
--load-balancer-info <structure>Information about the load balancer used in a deployment
--ec2-tag-set <structure>Information about groups of tags applied to on-premises instances. The deployment group includes only EC2 instances identified by all the tag groups
--ecs-services <list>The target Amazon ECS services in the deployment group. This applies only to deployment groups that use the Amazon ECS compute platform. A target Amazon ECS service is specified as an Amazon ECS cluster and service name pair using the format &lt;clustername&gt;:&lt;servicename&gt;
--on-premises-tag-set <structure>Information about an on-premises instance tag set. The deployment group includes only on-premises instances identified by all the tag groups
--ec-2-tag-set <structure>Information about groups of tags applied to on-premises instances. The deployment group includes only EC2 instances identified by all the tag groups
--cli-input-json <string>Performs service operation based on the JSON string provided. The JSON string follows the format provided by ``--generate-cli-skeleton``. If other arguments are provided on the command line, the CLI values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally
--generate-cli-skeleton <string>Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value ``input``, prints a sample input JSON that can be used as an argument for ``--cli-input-json``. If provided with the value ``output``, it validates the command inputs and returns a sample output JSON for that command