Method: Aws::ECS::Types::TaskDefinition#revision

Defined in:
lib/aws-sdk-ecs/types.rb

#revisionInteger

The revision of the task in a particular family. The revision is a version number of a task definition in a family. When you register a task definition for the first time, the revision is ‘1`. Each time that you register a new revision of a task definition in the same family, the revision value always increases by one. This is even if you deregistered previous revisions in this family.

Returns:

  • (Integer)


12819
12820
12821
12822
12823
12824
12825
12826
12827
12828
12829
12830
12831
12832
12833
12834
12835
12836
12837
12838
12839
12840
12841
12842
12843
12844
12845
12846
12847
# File 'lib/aws-sdk-ecs/types.rb', line 12819

class TaskDefinition < Struct.new(
  :task_definition_arn,
  :container_definitions,
  :family,
  :task_role_arn,
  :execution_role_arn,
  :network_mode,
  :revision,
  :volumes,
  :status,
  :requires_attributes,
  :placement_constraints,
  :compatibilities,
  :runtime_platform,
  :requires_compatibilities,
  :cpu,
  :memory,
  :inference_accelerators,
  :pid_mode,
  :ipc_mode,
  :proxy_configuration,
  :registered_at,
  :deregistered_at,
  :registered_by,
  :ephemeral_storage,
  :enable_fault_injection)
  SENSITIVE = []
  include Aws::Structure
end