You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::ECS::Types::Deployment

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

The details of an Amazon ECS service deployment.

Instance Attribute Summary collapse

Instance Attribute Details

#created_atTime

The Unix timestamp for when the service was created.

Returns:

  • (Time)

    The Unix timestamp for when the service was created.

#desired_countInteger

The most recent desired count of tasks that was specified for the service to deploy or maintain.

Returns:

  • (Integer)

    The most recent desired count of tasks that was specified for the service to deploy or maintain.

#idString

The ID of the deployment.

Returns:

  • (String)

    The ID of the deployment.

#pending_countInteger

The number of tasks in the deployment that are in the PENDING status.

Returns:

  • (Integer)

    The number of tasks in the deployment that are in the PENDING status.

#running_countInteger

The number of tasks in the deployment that are in the RUNNING status.

Returns:

  • (Integer)

    The number of tasks in the deployment that are in the RUNNING status.

#statusString

The status of the deployment. Valid values are PRIMARY (for the most recent deployment), ACTIVE (for previous deployments that still have tasks running, but are being replaced with the PRIMARY deployment), and INACTIVE (for deployments that have been completely replaced).

Returns:

  • (String)

    The status of the deployment.

#task_definitionString

The most recent task definition that was specified for the service to use.

Returns:

  • (String)

    The most recent task definition that was specified for the service to use.

#updated_atTime

The Unix timestamp for when the service was last updated.

Returns:

  • (Time)

    The Unix timestamp for when the service was last updated.