Class: Aws::Lightsail::Types::ContainerServiceDeployment

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

Overview

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.



2450
2451
2452
2453
2454
2455
2456
2457
2458
# File 'lib/aws-sdk-lightsail/types.rb', line 2450

class ContainerServiceDeployment < Struct.new(
  :version,
  :state,
  :containers,
  :public_endpoint,
  :created_at)
  SENSITIVE = []
  include Aws::Structure
end

#created_atTime

The timestamp when the deployment was created.



2450
2451
2452
2453
2454
2455
2456
2457
2458
# File 'lib/aws-sdk-lightsail/types.rb', line 2450

class ContainerServiceDeployment < Struct.new(
  :version,
  :state,
  :containers,
  :public_endpoint,
  :created_at)
  SENSITIVE = []
  include Aws::Structure
end

#public_endpointTypes::ContainerServiceEndpoint

An object that describes the endpoint of the deployment.



2450
2451
2452
2453
2454
2455
2456
2457
2458
# File 'lib/aws-sdk-lightsail/types.rb', line 2450

class ContainerServiceDeployment < Struct.new(
  :version,
  :state,
  :containers,
  :public_endpoint,
  :created_at)
  SENSITIVE = []
  include Aws::Structure
end

#stateString

The state of the deployment.

A deployment can be in one of the following states:

  • ACTIVATING - The deployment is being created.

  • ACTIVE - The deployment was successfully created, and it’s currently running on the container service. The container service can have only one deployment in an active state at a time.

  • INACTIVE - The deployment was previously successfully created, but it is not currently running on the container service.

  • FAILED - The deployment failed. Use the GetContainerLog action to view the log events for the containers in the deployment to try to determine the reason for the failure.



2450
2451
2452
2453
2454
2455
2456
2457
2458
# File 'lib/aws-sdk-lightsail/types.rb', line 2450

class ContainerServiceDeployment < Struct.new(
  :version,
  :state,
  :containers,
  :public_endpoint,
  :created_at)
  SENSITIVE = []
  include Aws::Structure
end

#versionInteger

The version number of the deployment.



2450
2451
2452
2453
2454
2455
2456
2457
2458
# File 'lib/aws-sdk-lightsail/types.rb', line 2450

class ContainerServiceDeployment < Struct.new(
  :version,
  :state,
  :containers,
  :public_endpoint,
  :created_at)
  SENSITIVE = []
  include Aws::Structure
end