You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::Lightsail::Types::ContainerServiceDeploymentRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing ContainerServiceDeploymentRequest as input to an Aws::Client method, you can use a vanilla 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",
    },
  },
}

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.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#containersHash<String,Types::Container>

An object that describes the configuration for the containers of the deployment.

Returns:

  • (Hash<String,Types::Container>)

    An object that describes the configuration for the containers of the deployment.

#public_endpointTypes::EndpointRequest

An object that describes the endpoint of the deployment.

Returns: