Class: Aws::ECS::Types::Deployment
- Inherits:
-
Struct
- Object
- Struct
- Aws::ECS::Types::Deployment
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-ecs/types.rb
Overview
The details of an Amazon ECS service deployment.
Instance Attribute Summary collapse
-
#created_at ⇒ Time
The Unix timestamp for when the service was created.
-
#desired_count ⇒ Integer
The most recent desired count of tasks that was specified for the service to deploy or maintain.
-
#id ⇒ String
The ID of the deployment.
-
#pending_count ⇒ Integer
The number of tasks in the deployment that are in the ‘PENDING` status.
-
#running_count ⇒ Integer
The number of tasks in the deployment that are in the ‘RUNNING` status.
-
#status ⇒ String
The status of the deployment.
-
#task_definition ⇒ String
The most recent task definition that was specified for the service to use.
-
#updated_at ⇒ Time
The Unix timestamp for when the service was last updated.
Instance Attribute Details
#created_at ⇒ Time
The Unix timestamp for when the service was created.
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_count ⇒ Integer
The most recent desired count of tasks that was specified for the service to deploy or maintain.
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 |
#id ⇒ String
The ID of the deployment.
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_count ⇒ Integer
The number of tasks in the deployment that are in the ‘PENDING` status.
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_count ⇒ Integer
The number of tasks in the deployment that are in the ‘RUNNING` status.
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 |
#status ⇒ String
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).
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_definition ⇒ String
The most recent task definition that was specified for the service to use.
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_at ⇒ Time
The Unix timestamp for when the service was last updated.
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 |