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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-lightsail/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.

Returns:



1854
1855
1856
1857
1858
1859
1860
1861
1862
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 1854

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.

Returns:

  • (Time)


1854
1855
1856
1857
1858
1859
1860
1861
1862
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 1854

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.



1854
1855
1856
1857
1858
1859
1860
1861
1862
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 1854

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.

Returns:

  • (String)


1854
1855
1856
1857
1858
1859
1860
1861
1862
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 1854

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

#versionInteger

The version number of the deployment.

Returns:

  • (Integer)


1854
1855
1856
1857
1858
1859
1860
1861
1862
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 1854

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