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

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

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)


1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
# File 'lib/aws-sdk-ecs/types.rb', line 1318

class Deployment < Struct.new(
  :id,
  :status,
  :task_definition,
  :desired_count,
  :pending_count,
  :running_count,
  :created_at,
  :updated_at)
  include Aws::Structure
end

#desired_countInteger

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

Returns:

  • (Integer)


1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
# File 'lib/aws-sdk-ecs/types.rb', line 1318

class Deployment < Struct.new(
  :id,
  :status,
  :task_definition,
  :desired_count,
  :pending_count,
  :running_count,
  :created_at,
  :updated_at)
  include Aws::Structure
end

#idString

The ID of the deployment.

Returns:

  • (String)


1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
# File 'lib/aws-sdk-ecs/types.rb', line 1318

class Deployment < Struct.new(
  :id,
  :status,
  :task_definition,
  :desired_count,
  :pending_count,
  :running_count,
  :created_at,
  :updated_at)
  include Aws::Structure
end

#pending_countInteger

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

Returns:

  • (Integer)


1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
# File 'lib/aws-sdk-ecs/types.rb', line 1318

class Deployment < Struct.new(
  :id,
  :status,
  :task_definition,
  :desired_count,
  :pending_count,
  :running_count,
  :created_at,
  :updated_at)
  include Aws::Structure
end

#running_countInteger

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

Returns:

  • (Integer)


1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
# File 'lib/aws-sdk-ecs/types.rb', line 1318

class Deployment < Struct.new(
  :id,
  :status,
  :task_definition,
  :desired_count,
  :pending_count,
  :running_count,
  :created_at,
  :updated_at)
  include Aws::Structure
end

#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)


1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
# File 'lib/aws-sdk-ecs/types.rb', line 1318

class Deployment < Struct.new(
  :id,
  :status,
  :task_definition,
  :desired_count,
  :pending_count,
  :running_count,
  :created_at,
  :updated_at)
  include Aws::Structure
end

#task_definitionString

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

Returns:

  • (String)


1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
# File 'lib/aws-sdk-ecs/types.rb', line 1318

class Deployment < Struct.new(
  :id,
  :status,
  :task_definition,
  :desired_count,
  :pending_count,
  :running_count,
  :created_at,
  :updated_at)
  include Aws::Structure
end

#updated_atTime

The Unix timestamp for when the service was last updated.

Returns:

  • (Time)


1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
# File 'lib/aws-sdk-ecs/types.rb', line 1318

class Deployment < Struct.new(
  :id,
  :status,
  :task_definition,
  :desired_count,
  :pending_count,
  :running_count,
  :created_at,
  :updated_at)
  include Aws::Structure
end