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

Class: Aws::Lightsail::Types::CreateContainerServiceDeploymentRequest

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

Overview

Note:

When passing CreateContainerServiceDeploymentRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  service_name: "ContainerServiceName", # required
  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",
    },
  },
}

Instance Attribute Summary collapse

Instance Attribute Details

#containersHash<String,Types::Container>

An object that describes the settings of the containers that will be launched on the container service.

Returns:

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

    An object that describes the settings of the containers that will be launched on the container service.

#public_endpointTypes::EndpointRequest

An object that describes the settings of the public endpoint for the container service.

Returns:

  • (Types::EndpointRequest)

    An object that describes the settings of the public endpoint for the container service.

#service_nameString

The name of the container service for which to create the deployment.

Returns:

  • (String)

    The name of the container service for which to create the deployment.