Amazon ECS · Schema

UpdateExpressGatewayServiceRequest

AmazonAmazon Web ServicesContainersDockerECSContainer Orchestration

Properties

Name Type Description
serviceArn string The Amazon Resource Name (ARN) of the Express service to update.
executionRoleArn string The Amazon Resource Name (ARN) of the task execution role for the Express service.
healthCheckPath string The path on the container for Application Load Balancer health checks.
primaryContainer object
taskRoleArn string The Amazon Resource Name (ARN) of the IAM role for containers in this task.
networkConfiguration object
cpu string The number of CPU units used by the task.
memory string The amount of memory (in MiB) used by the task.
cpuArchitecture string The CPU architecture that the task runs on. If you don't specify a value, the service keeps its current architecture. Valid values: X86_64 - The x86 64-bit architecture. ARM64 - The 64-bit ARM archite
scalingTarget object
taskDefinitionArn string The Amazon Resource Name (ARN) of a task definition to use to update the Express Gateway service. This allows you to manage your own task definition, giving you more control over the service configura
View JSON Schema on GitHub

JSON Schema

amazon-ecs-update-express-gateway-service-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-ecs/json-schema/amazon-ecs-update-express-gateway-service-request-schema.json",
  "title": "UpdateExpressGatewayServiceRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-ecs-express-gateway-service-api-openapi.yml#/components/schemas/UpdateExpressGatewayServiceRequest",
  "type": "object",
  "properties": {
    "serviceArn": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) of the Express service to update."
    },
    "executionRoleArn": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) of the task execution role for the Express service."
    },
    "healthCheckPath": {
      "type": "string",
      "description": "The path on the container for Application Load Balancer health checks."
    },
    "primaryContainer": {
      "$ref": "#/$defs/ExpressGatewayContainer"
    },
    "taskRoleArn": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) of the IAM role for containers in this task."
    },
    "networkConfiguration": {
      "$ref": "#/$defs/ExpressGatewayServiceNetworkConfiguration"
    },
    "cpu": {
      "type": "string",
      "description": "The number of CPU units used by the task."
    },
    "memory": {
      "type": "string",
      "description": "The amount of memory (in MiB) used by the task."
    },
    "cpuArchitecture": {
      "type": "string",
      "enum": [
        "X86_64",
        "ARM64"
      ],
      "description": "The CPU architecture that the task runs on. If you don't specify a value, the service keeps its current architecture. Valid values: X86_64 - The x86 64-bit architecture. ARM64 - The 64-bit ARM architecture. Changing the architecture starts a new deployment that replaces the running tasks. Ensure that the container image you specify supports the architecture you choose. The operating system family for an Express service is always LINUX. You can't specify cpuArchitecture together with taskDefinitionArn."
    },
    "scalingTarget": {
      "$ref": "#/$defs/ExpressGatewayScalingTarget"
    },
    "taskDefinitionArn": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) of a task definition to use to update the Express Gateway service. This allows you to manage your own task definition, giving you more control over the service configuration such as adding sidecar containers. The task definition must have a container named Main with a single TCP port mapping that includes a container port and port name. The task definition must also have FARGATE compatibility. If you provide a task definition ARN, you cannot also specify primaryContainer, executionRoleArn, taskRoleArn, cpu, memory, or cpuArchitecture."
    }
  },
  "required": [
    "serviceArn"
  ],
  "$defs": {
    "ExpressGatewayContainer": {
      "type": "object",
      "properties": {
        "image": {
          "type": "string",
          "description": "The image used to start a container. This string is passed directly to the Docker daemon. Images in the Docker Hub registry are available by default. Other repositories are specified with either repository-url/image:tag or repository-url/image@digest. For Express services, the image typically contains a web application that listens on the specified container port. The image can be stored in Amazon ECR, Docker Hub, or any other container registry accessible to your execution role."
        },
        "containerPort": {
          "type": "integer",
          "description": "The port number on the container that receives traffic from the load balancer. Default is 80."
        },
        "awsLogsConfiguration": {
          "$ref": "#/$defs/ExpressGatewayServiceAwsLogsConfiguration"
        },
        "repositoryCredentials": {
          "$ref": "#/$defs/ExpressGatewayRepositoryCredentials"
        },
        "command": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The command that is passed to the container."
        },
        "environment": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/KeyValuePair"
          },
          "description": "The environment variables to pass to the container."
        },
        "secrets": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Secret"
          },
          "description": "The secrets to pass to the container."
        }
      },
      "required": [
        "image"
      ]
    },
    "ExpressGatewayRepositoryCredentials": {
      "type": "object",
      "properties": {
        "credentialsParameter": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the secret containing the private repository credentials."
        }
      }
    },
    "ExpressGatewayScalingTarget": {
      "type": "object",
      "properties": {
        "minTaskCount": {
          "type": "integer",
          "description": "The minimum number of tasks to run in the Express service."
        },
        "maxTaskCount": {
          "type": "integer",
          "description": "The maximum number of tasks to run in the Express service."
        },
        "autoScalingMetric": {
          "type": "string",
          "enum": [
            "AVERAGE_CPU",
            "AVERAGE_MEMORY",
            "REQUEST_COUNT_PER_TARGET"
          ],
          "description": "The metric used for auto-scaling decisions. The default metric used for an Express service is CPUUtilization."
        },
        "autoScalingTargetValue": {
          "type": "integer",
          "description": "The target value for the auto-scaling metric. The default value for an Express service is 60."
        }
      }
    },
    "ExpressGatewayServiceAwsLogsConfiguration": {
      "type": "object",
      "properties": {
        "logGroup": {
          "type": "string",
          "description": "The name of the CloudWatch Logs log group to send container logs to."
        },
        "logStreamPrefix": {
          "type": "string",
          "description": "The prefix for the CloudWatch Logs log stream names. The default for an Express service is ecs."
        }
      },
      "required": [
        "logGroup",
        "logStreamPrefix"
      ]
    },
    "ExpressGatewayServiceNetworkConfiguration": {
      "type": "object",
      "properties": {
        "securityGroups": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The IDs of the security groups associated with the Express service."
        },
        "subnets": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The IDs of the subnets associated with the Express service."
        }
      }
    },
    "KeyValuePair": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "description": "The name of the key-value pair. For environment variables, this is the name of the environment variable."
        },
        "value": {
          "type": "string",
          "description": "The value of the key-value pair. For environment variables, this is the value of the environment variable."
        }
      }
    },
    "Secret": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "description": "The name of the secret."
        },
        "valueFrom": {
          "type": "string",
          "description": "The secret to expose to the container. The supported values are either the full ARN of the Secrets Manager secret or the full ARN of the parameter in the SSM Parameter Store. For information about the require Identity and Access Management permissions, see Required IAM permissions for Amazon ECS secrets (for Secrets Manager) or Required IAM permissions for Amazon ECS secrets (for Systems Manager Parameter store) in the Amazon Elastic Container Service Developer Guide. If the SSM Parameter Store parameter exists in the same Region as the task you're launching, then you can use either the full A"
        }
      },
      "required": [
        "name",
        "valueFrom"
      ]
    }
  }
}

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.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/amazon-ecs-update-express-gateway-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.