class Aws::Lightsail::Types::ContainerServiceDeploymentRequest

Describes a container deployment configuration of an Amazon Lightsail container service.

A deployment specifies the settings, such as the ports and launch command, of containers that are deployed to your container service.

@note When making an API call, you may pass ContainerServiceDeploymentRequest

data as a hash:

    {
      containers: {
        "ContainerName" => {
          image: "string",
          command: ["string"],
          environment: {
            "string" => "string",
          },
          ports: {
            "string" => "HTTP", # accepts HTTP, HTTPS, TCP, UDP
          },
        },
      },
      public_endpoint: {
        container_name: "string", # required
        container_port: 1, # required
        health_check: {
          healthy_threshold: 1,
          unhealthy_threshold: 1,
          timeout_seconds: 1,
          interval_seconds: 1,
          path: "string",
          success_codes: "string",
        },
      },
    }

@!attribute [rw] containers

An object that describes the configuration for the containers of the
deployment.
@return [Hash<String,Types::Container>]

@!attribute [rw] public_endpoint

An object that describes the endpoint of the deployment.
@return [Types::EndpointRequest]

@see docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/ContainerServiceDeploymentRequest AWS API Documentation

Constants

SENSITIVE