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 time stamp for when the service was created.

Returns:

  • (Time)


1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
# File 'lib/aws-sdk-ecs/types.rb', line 1816

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)


1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
# File 'lib/aws-sdk-ecs/types.rb', line 1816

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)


1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
# File 'lib/aws-sdk-ecs/types.rb', line 1816

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 on which your service is running.

Returns:

  • (String)


1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
# File 'lib/aws-sdk-ecs/types.rb', line 1816

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.



1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
# File 'lib/aws-sdk-ecs/types.rb', line 1816

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)


1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
# File 'lib/aws-sdk-ecs/types.rb', line 1816

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 service is running.

Returns:

  • (String)


1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
# File 'lib/aws-sdk-ecs/types.rb', line 1816

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)


1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
# File 'lib/aws-sdk-ecs/types.rb', line 1816

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


1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
# File 'lib/aws-sdk-ecs/types.rb', line 1816

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 service to use.

Returns:

  • (String)


1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
# File 'lib/aws-sdk-ecs/types.rb', line 1816

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 time stamp for when the service was last updated.

Returns:

  • (Time)


1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
# File 'lib/aws-sdk-ecs/types.rb', line 1816

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