UpdateDeploymentGroupInput
¶
Source code in docs_src/capo_codedeploy/types/update_deployment_group_input.py
alarm_configuration
instance-attribute
¶
alarm_configuration: NotRequired[AlarmConfiguration]
Information to add or change about Amazon CloudWatch alarms when the deployment group is updated.
application_name
instance-attribute
¶
application_name: ApplicationName
The application name that corresponds to the deployment group to update.
auto_rollback_configuration
instance-attribute
¶
auto_rollback_configuration: NotRequired[AutoRollbackConfiguration]
Information for an automatic rollback configuration that is added or changed when a deployment group is updated.
auto_scaling_groups
instance-attribute
¶
auto_scaling_groups: NotRequired[AutoScalingGroupNameList]
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 or do not specify this parameter.
-
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 Amazon EC2 instances in an Amazon EC2 Auto Scaling group fail to launch and receive the error "Heartbeat Timeout" in the CodeDeploy User Guide.
blue_green_deployment_configuration
instance-attribute
¶
blue_green_deployment_configuration: NotRequired[BlueGreenDeploymentConfiguration]
Information about blue/green deployment options for a deployment group.
current_deployment_group_name
instance-attribute
¶
current_deployment_group_name: DeploymentGroupName
The current name of the deployment group.
deployment_config_name
instance-attribute
¶
deployment_config_name: NotRequired[DeploymentConfigName]
The replacement deployment configuration name to use, if you want to change it.
deployment_style
instance-attribute
¶
deployment_style: NotRequired[DeploymentStyle]
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.
ec2_tag_filters
instance-attribute
¶
ec2_tag_filters: NotRequired[EC2TagFilterList]
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.
ec2_tag_set
instance-attribute
¶
ec2_tag_set: NotRequired[EC2TagSet]
Information about groups of tags applied to on-premises instances. The deployment group includes only Amazon EC2 instances identified by all the tag groups.
ecs_services
instance-attribute
¶
ecs_services: NotRequired[ECSServiceList]
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 .
load_balancer_info
instance-attribute
¶
load_balancer_info: NotRequired[LoadBalancerInfo]
Information about the load balancer used in a deployment.
new_deployment_group_name
instance-attribute
¶
new_deployment_group_name: NotRequired[DeploymentGroupName]
The new name of the deployment group, if you want to change it.
on_premises_instance_tag_filters
instance-attribute
¶
on_premises_instance_tag_filters: NotRequired[TagFilterList]
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.
on_premises_tag_set
instance-attribute
¶
on_premises_tag_set: NotRequired[OnPremisesTagSet]
Information about an on-premises instance tag set. The deployment group includes only on-premises instances identified by all the tag groups.
outdated_instances_strategy
instance-attribute
¶
outdated_instances_strategy: NotRequired[OutdatedInstancesStrategy]
Indicates what happens when new Amazon 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 Amazon EC2 instances.
If this option is set to IGNORE, CodeDeploy does not initiate a deployment to update the new Amazon EC2 instances. This may result in instances having different revisions.
service_role_arn
instance-attribute
¶
service_role_arn: NotRequired[Role]
A replacement ARN for the service role, if you want to change it.
termination_hook_enabled
instance-attribute
¶
termination_hook_enabled: NotRequired[NullableBoolean]
This parameter only applies if you are using CodeDeploy with Amazon EC2 Auto Scaling. For more information, see Integrating CodeDeploy with Amazon EC2 Auto Scaling in the CodeDeploy User Guide.
Set terminationHookEnabled to true to have CodeDeploy install a termination hook into your Auto Scaling group when you update a deployment group. When this hook is installed, CodeDeploy will perform termination deployments.
For information about termination deployments, see Enabling termination deployments during Auto Scaling scale-in events in the CodeDeploy User Guide.
For more information about Auto Scaling scale-in events, see the Scale in topic in the Amazon EC2 Auto Scaling User Guide.
trigger_configurations
instance-attribute
¶
trigger_configurations: NotRequired[TriggerConfigList]
Information about triggers to change when the deployment group is updated. For examples, see Edit a Trigger in a CodeDeploy Deployment Group in the CodeDeploy User Guide.