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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb

Overview

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",
    },
  },
}

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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#containersHash<String,Types::Container>

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

Returns:



1911
1912
1913
1914
1915
1916
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 1911

class ContainerServiceDeploymentRequest < Struct.new(
  :containers,
  :public_endpoint)
  SENSITIVE = []
  include Aws::Structure
end

#public_endpointTypes::EndpointRequest

An object that describes the endpoint of the deployment.



1911
1912
1913
1914
1915
1916
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 1911

class ContainerServiceDeploymentRequest < Struct.new(
  :containers,
  :public_endpoint)
  SENSITIVE = []
  include Aws::Structure
end