Amazon ECS · Schema
UpdateServiceRequest
AmazonAmazon Web ServicesContainersDockerECSContainer Orchestration
Properties
| Name | Type | Description |
|---|---|---|
| cluster | string | The short name or full Amazon Resource Name (ARN) of the cluster that your service runs on. If you do not specify a cluster, the default cluster is assumed. You can't change the cluster name. |
| service | string | The name of the service to update. |
| desiredCount | integer | The number of instantiations of the task to place and keep running in your service. This parameter doesn't trigger a new service deployment. |
| taskDefinition | string | The family and revision (family:revision) or full ARN of the task definition to run in your service. If a revision is not specified, the latest ACTIVE revision is used. If you modify the task definiti |
| capacityProviderStrategy | array | The details of a capacity provider strategy. You can set a capacity provider when you create a cluster, run a task, or update a service. If you want to use Amazon ECS Managed Instances, you must use t |
| deploymentConfiguration | object | |
| availabilityZoneRebalancing | string | Indicates whether to use Availability Zone rebalancing for the service. For more information, see Balancing an Amazon ECS service across Availability Zones in the Amazon Elastic Container Service Deve |
| networkConfiguration | object | |
| placementConstraints | array | An array of task placement constraint objects to update the service to use. If no value is specified, the existing placement constraints for the service will remain unchanged. If this value is specifi |
| placementStrategy | array | The task placement strategy objects to update the service to use. If no value is specified, the existing placement strategy for the service will remain unchanged. If this value is specified, it will o |
| platformVersion | string | The platform version that your tasks in the service run on. A platform version is only specified for tasks using the Fargate launch type. If a platform version is not specified, the LATEST platform ve |
| forceNewDeployment | boolean | Determines whether to force a new deployment of the service. By default, deployments aren't forced. You can use this option to start a new deployment with no service definition changes. For example, y |
| healthCheckGracePeriodSeconds | integer | The period of time, in seconds, that the Amazon ECS service scheduler ignores unhealthy Elastic Load Balancing, VPC Lattice, and container health checks after a task has first started. If you don't sp |
| deploymentController | object | |
| enableExecuteCommand | boolean | If true, this enables execute command functionality on all task containers. If you do not want to override the value that was set when the service was created, you can set this to null when performing |
| enableECSManagedTags | boolean | Determines whether to turn on Amazon ECS managed tags for the tasks in the service. For more information, see Tagging Your Amazon ECS Resources in the Amazon Elastic Container Service Developer Guide. |
| loadBalancers | array | You must have a service-linked role when you update this property A list of Elastic Load Balancing load balancer objects. It contains the load balancer name, the container name, and the container port |
| propagateTags | string | Determines whether to propagate the tags from the task definition or the service to the task. If no value is specified, the tags aren't propagated. Only tasks launched after the update will reflect th |
| serviceRegistries | array | You must have a service-linked role when you update this property. For more information about the role see the CreateService request parameter role . The details for the service discovery registries t |
| serviceConnectConfiguration | object | |
| volumeConfigurations | array | The details of the volume that was configuredAtLaunch. You can configure the size, volumeType, IOPS, throughput, snapshot and encryption in ServiceManagedEBSVolumeConfiguration. The name of the volume |
| vpcLatticeConfigurations | array | An object representing the VPC Lattice configuration for the service being updated. This parameter triggers a new service deployment. |
| gatewayConnectors | array | The updated set of gateway connectors that connect the service to a gateway ingress path. A service supports no more than one gateway connector. |
| monitoring | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/amazon-ecs/json-schema/amazon-ecs-update-service-request-schema.json",
"title": "UpdateServiceRequest",
"x-generated": "2026-11-10",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/amazon-ecs-amazon-ecs-amazon-elastic-container-service-ecs-api-api-openapi.yml#/components/schemas/UpdateServiceRequest",
"type": "object",
"properties": {
"cluster": {
"type": "string",
"description": "The short name or full Amazon Resource Name (ARN) of the cluster that your service runs on. If you do not specify a cluster, the default cluster is assumed. You can't change the cluster name."
},
"service": {
"type": "string",
"description": "The name of the service to update."
},
"desiredCount": {
"type": "integer",
"description": "The number of instantiations of the task to place and keep running in your service. This parameter doesn't trigger a new service deployment."
},
"taskDefinition": {
"type": "string",
"description": "The family and revision (family:revision) or full ARN of the task definition to run in your service. If a revision is not specified, the latest ACTIVE revision is used. If you modify the task definition with UpdateService, Amazon ECS spawns a task with the new version of the task definition and then stops an old task after the new version is running. This parameter triggers a new service deployment."
},
"capacityProviderStrategy": {
"type": "array",
"items": {
"$ref": "#/$defs/CapacityProviderStrategyItem"
},
"description": "The details of a capacity provider strategy. You can set a capacity provider when you create a cluster, run a task, or update a service. If you want to use Amazon ECS Managed Instances, you must use the capacityProviderStrategy request parameter. When you use Fargate, the capacity providers are FARGATE or FARGATE_SPOT. When you use Amazon EC2, the capacity providers are Auto Scaling groups. You can change capacity providers for rolling deployments and blue/green deployments. The following list provides the valid transitions: Update the Fargate launch type to an Auto Scaling group capacity prov"
},
"deploymentConfiguration": {
"$ref": "#/$defs/DeploymentConfiguration"
},
"availabilityZoneRebalancing": {
"type": "string",
"enum": [
"ENABLED",
"DISABLED"
],
"description": "Indicates whether to use Availability Zone rebalancing for the service. For more information, see Balancing an Amazon ECS service across Availability Zones in the Amazon Elastic Container Service Developer Guide . The default behavior of AvailabilityZoneRebalancing differs between create and update requests: For create service requests, when no value is specified for AvailabilityZoneRebalancing, Amazon ECS defaults the value to ENABLED. For update service requests, when no value is specified for AvailabilityZoneRebalancing, Amazon ECS defaults to the existing service’s AvailabilityZoneRebalanc"
},
"networkConfiguration": {
"$ref": "#/$defs/NetworkConfiguration"
},
"placementConstraints": {
"type": "array",
"items": {
"$ref": "#/$defs/PlacementConstraint"
},
"description": "An array of task placement constraint objects to update the service to use. If no value is specified, the existing placement constraints for the service will remain unchanged. If this value is specified, it will override any existing placement constraints defined for the service. To remove all existing placement constraints, specify an empty array. You can specify a maximum of 10 constraints for each task. This limit includes constraints in the task definition and those specified at runtime. This parameter doesn't trigger a new service deployment."
},
"placementStrategy": {
"type": "array",
"items": {
"$ref": "#/$defs/PlacementStrategy"
},
"description": "The task placement strategy objects to update the service to use. If no value is specified, the existing placement strategy for the service will remain unchanged. If this value is specified, it will override the existing placement strategy defined for the service. To remove an existing placement strategy, specify an empty object. You can specify a maximum of five strategy rules for each service. This parameter doesn't trigger a new service deployment."
},
"platformVersion": {
"type": "string",
"description": "The platform version that your tasks in the service run on. A platform version is only specified for tasks using the Fargate launch type. If a platform version is not specified, the LATEST platform version is used. For more information, see Fargate Platform Versions in the Amazon Elastic Container Service Developer Guide. This parameter triggers a new service deployment."
},
"forceNewDeployment": {
"type": "boolean",
"description": "Determines whether to force a new deployment of the service. By default, deployments aren't forced. You can use this option to start a new deployment with no service definition changes. For example, you can update a service's tasks to use a newer Docker image with the same image/tag combination (my_image:latest) or to roll Fargate tasks onto a newer platform version."
},
"healthCheckGracePeriodSeconds": {
"type": "integer",
"description": "The period of time, in seconds, that the Amazon ECS service scheduler ignores unhealthy Elastic Load Balancing, VPC Lattice, and container health checks after a task has first started. If you don't specify a health check grace period value, the default value of 0 is used. If you don't use any of the health checks, then healthCheckGracePeriodSeconds is unused. If your service's tasks take a while to start and respond to health checks, you can specify a health check grace period of up to 2,147,483,647 seconds (about 69 years). During that time, the Amazon ECS service scheduler ignores health che"
},
"deploymentController": {
"$ref": "#/$defs/DeploymentController"
},
"enableExecuteCommand": {
"type": "boolean",
"description": "If true, this enables execute command functionality on all task containers. If you do not want to override the value that was set when the service was created, you can set this to null when performing this action. This parameter doesn't trigger a new service deployment."
},
"enableECSManagedTags": {
"type": "boolean",
"description": "Determines whether to turn on Amazon ECS managed tags for the tasks in the service. For more information, see Tagging Your Amazon ECS Resources in the Amazon Elastic Container Service Developer Guide. Only tasks launched after the update will reflect the update. To update the tags on all tasks, set forceNewDeployment to true, so that Amazon ECS starts new tasks with the updated tags. This parameter doesn't trigger a new service deployment."
},
"loadBalancers": {
"type": "array",
"items": {
"$ref": "#/$defs/LoadBalancer"
},
"description": "You must have a service-linked role when you update this property A list of Elastic Load Balancing load balancer objects. It contains the load balancer name, the container name, and the container port to access from the load balancer. The container name is as it appears in a container definition. When you add, update, or remove a load balancer configuration, Amazon ECS starts new tasks with the updated Elastic Load Balancing configuration, and then stops the old tasks when the new tasks are running. For services that use rolling updates, you can add, update, or remove Elastic Load Balancing ta"
},
"propagateTags": {
"type": "string",
"enum": [
"TASK_DEFINITION",
"SERVICE",
"NONE"
],
"description": "Determines whether to propagate the tags from the task definition or the service to the task. If no value is specified, the tags aren't propagated. Only tasks launched after the update will reflect the update. To update the tags on all tasks, set forceNewDeployment to true, so that Amazon ECS starts new tasks with the updated tags. This parameter doesn't trigger a new service deployment."
},
"serviceRegistries": {
"type": "array",
"items": {
"$ref": "#/$defs/ServiceRegistry"
},
"description": "You must have a service-linked role when you update this property. For more information about the role see the CreateService request parameter role . The details for the service discovery registries to assign to this service. For more information, see Service Discovery. When you add, update, or remove the service registries configuration, Amazon ECS starts new tasks with the updated service registries configuration, and then stops the old tasks when the new tasks are running. You can remove existing serviceRegistries by passing an empty list. This parameter triggers a new service deployment."
},
"serviceConnectConfiguration": {
"$ref": "#/$defs/ServiceConnectConfiguration"
},
"volumeConfigurations": {
"type": "array",
"items": {
"$ref": "#/$defs/ServiceVolumeConfiguration"
},
"description": "The details of the volume that was configuredAtLaunch. You can configure the size, volumeType, IOPS, throughput, snapshot and encryption in ServiceManagedEBSVolumeConfiguration. The name of the volume must match the name from the task definition. If set to null, no new deployment is triggered. Otherwise, if this configuration differs from the existing one, it triggers a new deployment. This parameter triggers a new service deployment."
},
"vpcLatticeConfigurations": {
"type": "array",
"items": {
"$ref": "#/$defs/VpcLatticeConfiguration"
},
"description": "An object representing the VPC Lattice configuration for the service being updated. This parameter triggers a new service deployment."
},
"gatewayConnectors": {
"type": "array",
"items": {
"$ref": "#/$defs/GatewayConnector"
},
"description": "The updated set of gateway connectors that connect the service to a gateway ingress path. A service supports no more than one gateway connector."
},
"monitoring": {
"$ref": "#/$defs/MonitoringConfiguration"
}
},
"required": [
"service"
],
"$defs": {
"AdvancedConfiguration": {
"type": "object",
"properties": {
"alternateTargetGroupArn": {
"type": "string",
"description": "The Amazon Resource Name (ARN) of the alternate target group for Amazon ECS blue/green deployments."
},
"productionListenerRule": {
"type": "string",
"description": "The Amazon Resource Name (ARN) that that identifies the production listener rule (in the case of an Application Load Balancer) or listener (in the case for an Network Load Balancer) for routing production traffic."
},
"testListenerRule": {
"type": "string",
"description": "The Amazon Resource Name (ARN) that identifies ) that identifies the test listener rule (in the case of an Application Load Balancer) or listener (in the case for an Network Load Balancer) for routing test traffic."
},
"roleArn": {
"type": "string",
"description": "The Amazon Resource Name (ARN) of the IAM role that grants Amazon ECS permission to call the Elastic Load Balancing APIs for you."
}
}
},
"AwsVpcConfiguration": {
"type": "object",
"properties": {
"subnets": {
"type": "array",
"items": {
"type": "string"
},
"description": "The IDs of the subnets associated with the task or service. There's a limit of 16 subnets that can be specified. All specified subnets must be from the same VPC."
},
"securityGroups": {
"type": "array",
"items": {
"type": "string"
},
"description": "The IDs of the security groups associated with the task or service. If you don't specify a security group, the default security group for the VPC is used. There's a limit of 5 security groups that can be specified. All specified security groups must be from the same VPC."
},
"assignPublicIp": {
"type": "string",
"enum": [
"ENABLED",
"DISABLED"
],
"description": "Whether the task's elastic network interface receives a public IP address. Consider the following when you set this value: When you use create-service or update-service, the default is DISABLED. When the service deploymentController is ECS, the value must be DISABLED."
}
},
"required": [
"subnets"
]
},
"CanaryConfiguration": {
"type": "object",
"properties": {
"canaryPercent": {
"type": "number",
"description": "The percentage of production traffic to shift to the new service revision during the canary phase. Valid values are multiples of 0.1 from 0.1 to 100.0. The default value is 5.0."
},
"canaryBakeTimeInMinutes": {
"type": "integer",
"description": "The amount of time in minutes to wait during the canary phase before shifting the remaining production traffic to the new service revision. Valid values are 0 to 1440 minutes (24 hours). The default value is 10."
}
}
},
"CapacityProviderStrategyItem": {
"type": "object",
"properties": {
"capacityProvider": {
"type": "string",
"description": "The short name of the capacity provider."
},
"weight": {
"type": "integer",
"description": "The weight value designates the relative percentage of the total number of tasks launched that should use the specified capacity provider. The weight value is taken into consideration after the base value, if defined, is satisfied. If no weight value is specified, the default value of 0 is used. When multiple capacity providers are specified within a capacity provider strategy, at least one of the capacity providers must have a weight value greater than zero and any capacity providers with a weight of 0 can't be used to place tasks. If you specify multiple capacity providers in a strategy that"
},
"base": {
"type": "integer",
"description": "The base value designates how many tasks, at a minimum, to run on the specified capacity provider for each service. Only one capacity provider in a capacity provider strategy can have a base defined. If no value is specified, the default value of 0 is used. Base value characteristics: Only one capacity provider in a strategy can have a base defined The default value is 0 if not specified The valid range is 0 to 100,000 Base requirements are satisfied first before weight distribution"
}
},
"required": [
"capacityProvider"
]
},
"DeploymentAlarms": {
"type": "object",
"properties": {
"alarmNames": {
"type": "array",
"items": {
"type": "string"
},
"description": "One or more CloudWatch alarm names. Use a \",\" to separate the alarms."
},
"rollback": {
"type": "boolean",
"description": "Determines whether to configure Amazon ECS to roll back the service if a service deployment fails. If rollback is used, when a service deployment fails, the service is rolled back to the last deployment that completed successfully."
},
"enable": {
"type": "boolean",
"description": "Determines whether to use the CloudWatch alarm option in the service deployment process."
}
},
"required": [
"alarmNames",
"rollback",
"enable"
]
},
"DeploymentCircuitBreaker": {
"type": "object",
"properties": {
"enable": {
"type": "boolean",
"description": "Determines whether to use the deployment circuit breaker logic for the service."
},
"rollback": {
"type": "boolean",
"description": "Determines whether to configure Amazon ECS to roll back the service if a service deployment fails. If rollback is on, when a service deployment fails, the service is rolled back to the last deployment that completed successfully."
},
"resetOnHealthyTask": {
"type": "boolean",
"description": "Specifies whether the deployment circuit breaker resets its failure count when a task reaches a healthy state. When set to true, a task that reaches a healthy state resets the failure count to 0. When set to false, Amazon ECS does not reset the failure count. The default is true."
},
"thresholdConfiguration": {
"$ref": "#/$defs/ThresholdConfiguration"
}
},
"required": [
"enable",
"rollback"
]
},
"DeploymentConfiguration": {
"type": "object",
"properties": {
"deploymentCircuitBreaker": {
"$ref": "#/$defs/DeploymentCircuitBreaker"
},
"maximumPercent": {
"type": "integer",
"description": "If a service is using the rolling update (ECS) deployment type, the maximumPercent parameter represents an upper limit on the number of your service's tasks that are allowed in the RUNNING or PENDING state during a deployment, as a percentage of the desiredCount (rounded down to the nearest integer). This parameter enables you to define the deployment batch size. For example, if your service is using the REPLICA service scheduler and has a desiredCount of four tasks and a maximumPercent value of 200%, the scheduler may start four new tasks before stopping the four older tasks (provided that th"
},
"minimumHealthyPercent": {
"type": "integer",
"description": "If a service is using the rolling update (ECS) deployment type, the minimumHealthyPercent represents a lower limit on the number of your service's tasks that must remain in the RUNNING state during a deployment, as a percentage of the desiredCount (rounded up to the nearest integer). This parameter enables you to deploy without using additional cluster capacity. For example, if your service has a desiredCount of four tasks and a minimumHealthyPercent of 50%, the service scheduler may stop two existing tasks to free up cluster capacity before starting two new tasks. If any tasks are unhealthy a"
},
"alarms": {
"$ref": "#/$defs/DeploymentAlarms"
},
"strategy": {
"type": "string",
"enum": [
"ROLLING",
"BLUE_GREEN",
"LINEAR",
"CANARY"
],
"description": "The deployment strategy for the service. Choose from these valid values: ROLLING - When you create a service which uses the rolling update (ROLLING) deployment strategy, the Amazon ECS service scheduler replaces the currently running tasks with new tasks. The number of tasks that Amazon ECS adds or removes from the service during a rolling update is controlled by the service deployment configuration. BLUE_GREEN - A blue/green deployment strategy (BLUE_GREEN) is a release methodology that reduces downtime and risk by running two identical production environments called blue and green. With Amaz"
},
"bakeTimeInMinutes": {
"type": "integer",
"description": "The time period when both blue and green service revisions are running simultaneously after the production traffic has shifted. You must provide this parameter when you use the BLUE_GREEN deployment strategy."
},
"lifecycleHooks": {
"type": "array",
"items": {
"$ref": "#/$defs/DeploymentLifecycleHook"
},
"description": "An array of deployment lifecycle hook objects to run custom logic or pause the deployment at specific stages of the deployment lifecycle."
},
"linearConfiguration": {
"$ref": "#/$defs/LinearConfiguration"
},
"canaryConfiguration": {
"$ref": "#/$defs/CanaryConfiguration"
},
"earlySuccessCriteria": {
"$ref": "#/$defs/DeploymentEarlySuccessCriteria"
}
}
},
"DeploymentController": {
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"ECS",
"CODE_DEPLOY",
"EXTERNAL"
],
"description": "The deployment controller type to use. The deployment controller is the mechanism that determines how tasks are deployed for your service. The valid options are: ECS When you create a service which uses the ECS deployment controller, you can choose between the following deployment strategies: ROLLING: When you create a service which uses the rolling update (ROLLING) deployment strategy, the Amazon ECS service scheduler replaces the currently running tasks with new tasks. The number of tasks that Amazon ECS adds or removes from the service during a rolling update is controlled by the service de"
}
},
"required": [
"type"
]
},
"DeploymentEarlySuccessCriteria": {
"type": "object",
"properties": {
"enable": {
"type": "boolean",
"description": "Specifies whether to use the early success criteria for the service deployment. When set to false, the deployment uses the default behavior, where Amazon ECS considers the deployment successful when the target service revision fully stabilizes and the previous tasks are removed. The default value is false. When set to true, Amazon ECS monitors the deployment to meet early success criteria. You must also specify healthyPercent and sourceServiceRevisionCleanup."
},
"healthyPercent": {
"type": "integer",
"description": "The percentage of healthy tasks that the target service revision must reach before Amazon ECS considers the deployment successful. This percentage is relative to the service's desiredCount and must be an integer between 0 and 100. This value must be greater than or equal to the minimumHealthyPercent value. After this percentage of tasks is healthy and the bake time elapses, Amazon ECS completes the deployment. Amazon ECS continues to scale the target service revision to 100 percent in the background."
},
"sourceServiceRevisionCleanup": {
"type": "string",
"enum": [
"BLOCKING",
"DEFERRED"
],
"description": "The time when Amazon ECS removes the source revisions' tasks relative to deployment completion. The valid values are: BLOCKING—Amazon ECS removes the previous tasks before it marks the deployment as successful. DEFERRED—Amazon ECS marks the deployment successful, and then removes the previous tasks in the background."
}
},
"required": [
"enable"
]
},
"DeploymentLifecycleHook": {
"type": "object",
"properties": {
"targetType": {
"type": "string",
"enum": [
"AWS_LAMBDA",
"PAUSE"
],
"description": "The type of action the lifecycle hook performs. Valid values are: AWS_LAMBDA - Invokes a Lambda function at the specified lifecycle stage. This is the default value. PAUSE - Pauses the deployment at the specified lifecycle stage until you call ContinueServiceDeployment to continue or roll back. This field is optional. If not specified, the default value is AWS_LAMBDA."
},
"hookTargetArn": {
"type": "string",
"description": "The Amazon Resource Name (ARN) of the hook target. For AWS_LAMBDA hooks, this is the Lambda function ARN. This field is not applicable for PAUSE hooks. You must provide this parameter when configuring an AWS_LAMBDA lifecycle hook."
},
"roleArn": {
"type": "string",
"description": "The Amazon Resource Name (ARN) of the IAM role that grants Amazon ECS permission to call Lambda functions on your behalf. For more information, see Permissions required for Lambda functions in Amazon ECS blue/green deployments in the Amazon Elastic Container Service Developer Guide."
},
"lifecycleStages": {
"type": "array",
"items": {
"type": "string",
"enum": [
"RECONCILE_SERVICE",
"PRE_SCALE_UP",
"POST_SCALE_UP",
"TEST_TRAFFIC_SHIFT",
"POST_TEST_TRAFFIC_SHIFT",
"PRE_PRODUCTION_TRAFFIC_SHIFT",
"PRODUCTION_TRAFFIC_SHIFT",
"POST_PRODUCTION_TRAFFIC_SHIFT"
]
},
"description": "The lifecycle stages at which to run the hook. Choose from these valid values: RECONCILE_SERVICE The reconciliation stage that only happens when you start a new service deployment with more than 1 service revision in an ACTIVE state. You can use a lifecycle hook for this stage. PRE_SCALE_UP The green service revision has not started. The blue service revision is handling 100% of the production traffic. There is no test traffic. You can use a lifecycle hook for this stage. POST_SCALE_UP The green service revision has started. The blue service revision is handling 100% of the production traffic."
},
"hookDetails": {
"type": "object",
"description": "Use this field to specify custom parameters that Amazon ECS passes to your Lambda function on each invocation. This field is not used for PAUSE hooks."
},
"timeoutConfiguration": {
"$ref": "#/$defs/DeploymentLifecycleHookTimeoutConfiguration"
}
}
},
"DeploymentLifecycleHookTimeoutConfiguration": {
"type": "object",
"properties": {
"timeoutInMinutes": {
"type": "integer",
"description": "The number of minutes Amazon ECS waits for the lifecycle hook to complete before taking the timeout action. Default: 1440 (24 hours)"
},
"action": {
"type": "string",
"enum": [
"ROLLBACK",
"CONTINUE"
],
"description": "The action Amazon ECS takes when the lifecycle hook times out. Valid values are: CONTINUE - Proceeds the deployment to the next lifecycle stage. ROLLBACK - Rolls back the deployment to the previous service revision. Default: ROLLBACK"
}
}
},
"EBSTagSpecification": {
"type": "object",
"properties": {
"resourceType": {
"type": "string",
"enum": [
"volume"
],
"description": "The type of volume resource."
},
"tags": {
"type": "array",
"items": {
"$ref": "#/$defs/Tag"
},
"description": "The tags applied to this Amazon EBS volume. AmazonECSCreated and AmazonECSManaged are reserved tags that can't be used."
},
"propagateTags": {
"type": "string",
"enum": [
"TASK_DEFINITION",
"SERVICE",
"NONE"
],
"description": "Determines whether to propagate the tags from the task definition to the Amazon EBS volume. Tags can only propagate to a SERVICE specified in ServiceVolumeConfiguration. If no value is specified, the tags aren't propagated."
}
},
"required": [
"resourceType"
]
},
"GatewayConnector": {
"type": "object",
"properties": {
"portName": {
"type": "string",
"description": "The name of the service port that the gateway routes ingress traffic to."
},
"healthCheck": {
"$ref": "#/$defs/GatewayConnectorHealthCheck"
},
"filters": {
"$ref": "#/$defs/GatewayConnectorFilters"
}
},
"required": [
"portName"
]
},
"GatewayConnectorFilters": {
"type": "object",
"properties": {
"accessTypes": {
"type": "array",
"items": {
"type": "string",
"enum": [
"PUBLIC",
"PRIVATE"
]
},
"description": "The access types of the gateway ingress paths that the connector applies to. The access type can be one of the following values: PUBLIC - The ingress path is publicly accessible. PRIVATE - The ingress path is only accessible privately."
}
}
},
"GatewayConnectorHealthCheck": {
"type": "object",
"properties": {
"healthCheckProtocol": {
"type": "string",
"enum": [
"HTTP",
"HTTPS"
],
"description": "The protocol that the gateway uses to perform health checks. Valid values: HTTP - Health checks are performed over HTTP. HTTPS - Health checks are performed over HTTPS."
},
"healthCheckPort": {
"type": "integer",
"description": "The port that the gateway uses to perform health checks on the targets."
},
"healthCheckPath": {
"type": "string",
"description": "The destination path for health check requests."
},
"healthCheckTimeoutSeconds": {
"type": "integer",
"description": "The amount of time, in seconds, during which no response from a target means a failed health check."
},
"healthCheckIntervalSeconds": {
"type": "integer",
"description": "The approximate amount of time, in seconds, between health checks of an individual target."
},
"healthyThresholdCount": {
"type": "integer",
"description": "The number of consecutive successful health checks that a target must pass before the gateway considers it healthy."
},
"unhealthyThresholdCount": {
"type": "integer",
"description": "The number of consecutive failed health checks that a target must fail before the gateway considers it unhealthy."
},
"matcher": {
"$ref": "#/$defs/GatewayConnectorHealthCheckMatcher"
}
}
},
"GatewayConnectorHealthCheckMatcher": {
"type": "object",
"properties": {
"httpCode": {
"type": "string",
"description": "The HTTP codes that indicate a successful response from a target."
},
"grpcCode": {
"type": "string",
"description": "The gRPC codes that indicate a successful response from a target."
}
}
},
"LinearConfiguration": {
"type": "object",
"properties": {
"stepPercent": {
"type": "number",
"description": "The percentage of production traffic to shift in each step during a linear deployment. Valid values are multiples of 0.1 from 3.0 to 100.0. The default value is 10.0."
},
"stepBakeTimeInMinutes": {
"type": "integer",
"description": "The amount of time in minutes to wait between each traffic shifting step during a linear deployment. Valid values are 0 to 1440 minutes (24 hours). The default value is 6. This bake time is not applied after reaching 100 percent traffic."
}
}
},
"LoadBalancer": {
"type": "object",
"properties": {
"targetGroupArn": {
"type": "string",
"description": "The full Amazon Resource Name (ARN) of the Elastic Load Balancing target group or groups associated with a service or task set. A target group ARN is only specified when using an Application Load Balancer or Network Load Balancer. For services using the ECS deployment controller, you can specify one or multiple target groups. For more information, see Registering multiple target groups with a service in the Amazon Elastic Container Service Developer Guide. For services using the CODE_DEPLOY deployment controller, you're required to define two target groups for the load balancer. For more infor"
},
"loadBalancerName": {
"type": "string",
"description": "The name of the load balancer to associate with the Amazon ECS service or task set. If you are using an Application Load Balancer or a Ne
# --- truncated at 32 KB (60 KB total) ---
# Full source: https://artifacts.apis.io/amazon-ecs/json-schema/amazon-ecs-update-service-request-schema.json
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/amazon-ecs-update-service-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.