Module Values.ExpressGatewayContainerSource

Defines the configuration for the primary container in an Express service. This container receives traffic from the Application Load Balancer and runs your application code. The container configuration includes the container image, port mapping, logging settings, environment variables, and secrets. The container image is the only required parameter, with sensible defaults provided for other settings.

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

    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.

    *)
  2. containerPort : BoxedInteger.t option;
    (*

    The port number on the container that receives traffic from the load balancer. Default is 80.

    *)
  3. awsLogsConfiguration : ExpressGatewayServiceAwsLogsConfiguration.t option;
    (*

    The log configuration for the container.

    *)
  4. repositoryCredentials : ExpressGatewayRepositoryCredentials.t option;
    (*

    The configuration for repository credentials for private registry authentication.

    *)
  5. command : StringList.t option;
    (*

    The command that is passed to the container.

    *)
  6. environment : EnvironmentVariables.t option;
    (*

    The environment variables to pass to the container.

    *)
  7. secrets : SecretList.t option;
    (*

    The secrets to pass to the container.

    *)
}
Sourceval context_ : string
Sourceval make : ?containerPort:??? -> ?awsLogsConfiguration:??? -> ?repositoryCredentials:??? -> ?command:??? -> ?environment:??? -> ?secrets:??? -> image:String_.t -> unit -> t
Sourceval to_value : t -> [> `Structure 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 ]
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