Module Values.UpdateExpressGatewayServiceRequestSource

Updates an existing Express service configuration. Modifies container settings, resource allocation, auto-scaling configuration, and other service parameters without recreating the service. Amazon ECS creates a new service revision with updated configuration and performs a rolling deployment to replace existing tasks. The service remains available during updates, ensuring zero-downtime deployments. Some parameters like the infrastructure role cannot be modified after service creation and require creating a new service.

Sourcetype nonrec t = {
  1. serviceArn : String_.t;
    (*

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

    *)
  2. executionRoleArn : String_.t option;
    (*

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

    *)
  3. healthCheckPath : String_.t option;
    (*

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

    *)
  4. primaryContainer : ExpressGatewayContainer.t option;
    (*

    The primary container configuration for the Express service.

    *)
  5. taskRoleArn : String_.t option;
    (*

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

    *)
  6. networkConfiguration : ExpressGatewayServiceNetworkConfiguration.t option;
    (*

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

    *)
  7. cpu : String_.t option;
    (*

    The number of CPU units used by the task.

    *)
  8. memory : String_.t option;
    (*

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

    *)
  9. scalingTarget : ExpressGatewayScalingTarget.t option;
    (*

    The auto-scaling configuration for the Express service.

    *)
}
Sourceval context_ : string
Sourceval make : ?executionRoleArn:??? -> ?healthCheckPath:??? -> ?primaryContainer:??? -> ?taskRoleArn:??? -> ?networkConfiguration:??? -> ?cpu:??? -> ?memory:??? -> ?scalingTarget:??? -> serviceArn:String_.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of String_.t | `Structure of (string * [> `Enum of string | `Integer of BoxedInteger.t | `List of [> `String of String_.t | `Structure of (string * [> `String of String_.t ]) list ] list | `String of String_.t | `Structure of (string * [> `String of String_.t ]) list ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t