Skip to contents

Updates an existing Express service configuration. Modifies container settings, resource allocation, auto-scaling configuration, and other service parameters without recreating the service.

See https://www.paws-r-sdk.com/docs/ecs_update_express_gateway_service/ for full documentation.

Usage

ecs_update_express_gateway_service(
  serviceArn,
  executionRoleArn = NULL,
  healthCheckPath = NULL,
  primaryContainer = NULL,
  taskRoleArn = NULL,
  networkConfiguration = NULL,
  cpu = NULL,
  memory = NULL,
  scalingTarget = NULL
)

Arguments

serviceArn

[required] The Amazon Resource Name (ARN) of the Express service to update.

executionRoleArn

The Amazon Resource Name (ARN) of the task execution role for the Express service.

healthCheckPath

The path on the container for Application Load Balancer health checks.

primaryContainer

The primary container configuration for the Express service.

taskRoleArn

The Amazon Resource Name (ARN) of the IAM role for containers in this task.

networkConfiguration

The network configuration for the Express service tasks. By default, the network configuration for an Express service uses the default VPC.

cpu

The number of CPU units used by the task.

memory

The amount of memory (in MiB) used by the task.

scalingTarget

The auto-scaling configuration for the Express service.