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:



2336
2337
2338
2339
2340
2341
2342
2343
2344
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 2336

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)


2336
2337
2338
2339
2340
2341
2342
2343
2344
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 2336

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.



2336
2337
2338
2339
2340
2341
2342
2343
2344
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 2336

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)


2336
2337
2338
2339
2340
2341
2342
2343
2344
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 2336

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)


2336
2337
2338
2339
2340
2341
2342
2343
2344
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 2336

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