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

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 CreateContainerServiceDeploymentRequest data as a 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",
    },
  },
}

Constant Summary collapse

SENSITIVE =
[]

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:



3137
3138
3139
3140
3141
3142
3143
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 3137

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

#public_endpointTypes::EndpointRequest

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



3137
3138
3139
3140
3141
3142
3143
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 3137

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

#service_nameString

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

Returns:

  • (String)


3137
3138
3139
3140
3141
3142
3143
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 3137

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