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. This is used when a service uses the ‘CODE_DEPLOY` deployment controller type.

Instance Attribute Summary collapse

Instance Attribute Details

#created_atTime

The Unix timestamp for when the service deployment was created.

Returns:

  • (Time)


2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
# File 'lib/aws-sdk-ecs/types.rb', line 2147

class Deployment < Struct.new(
  :id,
  :status,
  :task_definition,
  :desired_count,
  :pending_count,
  :running_count,
  :created_at,
  :updated_at,
  :launch_type,
  :platform_version,
  :network_configuration)
  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)


2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
# File 'lib/aws-sdk-ecs/types.rb', line 2147

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

#idString

The ID of the deployment.

Returns:

  • (String)


2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
# File 'lib/aws-sdk-ecs/types.rb', line 2147

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

#launch_typeString

The launch type the tasks in the service are using. For more information, see [Amazon ECS Launch Types] in the *Amazon Elastic Container Service Developer Guide*.

[1]: docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html

Returns:

  • (String)


2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
# File 'lib/aws-sdk-ecs/types.rb', line 2147

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

#network_configurationTypes::NetworkConfiguration

The VPC subnet and security group configuration for tasks that receive their own elastic network interface by using the ‘awsvpc` networking mode.



2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
# File 'lib/aws-sdk-ecs/types.rb', line 2147

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

#pending_countInteger

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

Returns:

  • (Integer)


2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
# File 'lib/aws-sdk-ecs/types.rb', line 2147

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

#platform_versionString

The platform version on which your tasks in the service are running. A platform version is only specified for tasks using the Fargate launch type. If one is not specified, the ‘LATEST` platform version is used by default. For more information, see [AWS Fargate Platform Versions] in the *Amazon Elastic Container Service Developer Guide*.

[1]: docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html

Returns:

  • (String)


2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
# File 'lib/aws-sdk-ecs/types.rb', line 2147

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

#running_countInteger

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

Returns:

  • (Integer)


2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
# File 'lib/aws-sdk-ecs/types.rb', line 2147

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

#statusString

The status of the deployment. The following describes each state:

PRIMARY

: The most recent deployment of a service.

ACTIVE

: A service deployment that still has running tasks, but are in the

process of being replaced with a new `PRIMARY` deployment.

INACTIVE

: A deployment that has been completely replaced.

Returns:

  • (String)


2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
# File 'lib/aws-sdk-ecs/types.rb', line 2147

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

#task_definitionString

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

Returns:

  • (String)


2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
# File 'lib/aws-sdk-ecs/types.rb', line 2147

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

#updated_atTime

The Unix timestamp for when the service deployment was last updated.

Returns:

  • (Time)


2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
# File 'lib/aws-sdk-ecs/types.rb', line 2147

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