{
"$schema": "https://json-structure.org/meta/core/v0/#",
"$id": "https://raw.githubusercontent.com/api-evangelist/amazon-codedeploy/refs/heads/main/json-structure/amazon-codedeploy-update-deployment-group-input-structure.json",
"name": "UpdateDeploymentGroupInput",
"description": "Represents the input of an UpdateDeploymentGroup operation.",
"type": "object",
"properties": {
"applicationName": {
"allOf": [
{
"$ref": "#/components/schemas/ApplicationName"
},
{
"description": "The application name that corresponds to the deployment group to update."
}
]
},
"currentDeploymentGroupName": {
"allOf": [
{
"$ref": "#/components/schemas/DeploymentGroupName"
},
{
"description": "The current name of the deployment group."
}
]
},
"newDeploymentGroupName": {
"allOf": [
{
"$ref": "#/components/schemas/DeploymentGroupName"
},
{
"description": "The new name of the deployment group, if you want to change it."
}
]
},
"deploymentConfigName": {
"allOf": [
{
"$ref": "#/components/schemas/DeploymentConfigName"
},
{
"description": "The replacement deployment configuration name to use, if you want to change it."
}
]
},
"ec2TagFilters": {
"allOf": [
{
"$ref": "#/components/schemas/EC2TagFilterList"
},
{
"description": "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."
}
]
},
"onPremisesInstanceTagFilters": {
"allOf": [
{
"$ref": "#/components/schemas/TagFilterList"
},
{
"description": "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."
}
]
},
"autoScalingGroups": {
"allOf": [
{
"$ref": "#/components/schemas/AutoScalingGroupNameList"
},
{
"description": "
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.
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.
<clustername>:<servicename>. "
}
]
},
"onPremisesTagSet": {
"allOf": [
{
"$ref": "#/components/schemas/OnPremisesTagSet"
},
{
"description": "Information about an on-premises instance tag set. The deployment group includes only on-premises instances identified by all the tag groups."
}
]
}
},
"required": [
"applicationName",
"currentDeploymentGroupName"
]
}