Class: Ansible::Ruby::Modules::Ecs_task

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/extras/cloud/amazon/ecs_task.rb

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

Methods inherited from Ansible::Ruby::Models::Base

attr_option, attr_options, attribute, #initialize, #to_h, validates

Constructor Details

This class inherits a constructor from Ansible::Ruby::Models::Base

Instance Method Details

#clusterString?

Returns The name of the cluster to run the task on.

Returns:

  • (String, nil)

    The name of the cluster to run the task on



14
# File 'lib/ansible/ruby/modules/generated/extras/cloud/amazon/ecs_task.rb', line 14

attribute :cluster

#container_instancesArray<String>, ...

Returns The list of container instances on which to deploy the task.

Returns:

  • (Array<String>, String, nil)

    The list of container instances on which to deploy the task



33
# File 'lib/ansible/ruby/modules/generated/extras/cloud/amazon/ecs_task.rb', line 33

attribute :container_instances

#countInteger?

Returns How many new instances to start.

Returns:

  • (Integer, nil)

    How many new instances to start



25
# File 'lib/ansible/ruby/modules/generated/extras/cloud/amazon/ecs_task.rb', line 25

attribute :count

#operation:run, ...

Returns Which task operation to execute.

Returns:

  • (:run, :start, :stop)

    Which task operation to execute



10
# File 'lib/ansible/ruby/modules/generated/extras/cloud/amazon/ecs_task.rb', line 10

attribute :operation

#overridesObject?

Returns A dictionary of values to pass to the new instances.

Returns:

  • (Object, nil)

    A dictionary of values to pass to the new instances



22
# File 'lib/ansible/ruby/modules/generated/extras/cloud/amazon/ecs_task.rb', line 22

attribute :overrides

#started_byString?

Returns A value showing who or what started the task (for informational purposes).

Returns:

  • (String, nil)

    A value showing who or what started the task (for informational purposes)



37
# File 'lib/ansible/ruby/modules/generated/extras/cloud/amazon/ecs_task.rb', line 37

attribute :started_by

#taskString?

Returns The task to stop.

Returns:

  • (String, nil)

    The task to stop



29
# File 'lib/ansible/ruby/modules/generated/extras/cloud/amazon/ecs_task.rb', line 29

attribute :task

#task_definitionString?

Returns The task definition to start or run.

Returns:

  • (String, nil)

    The task definition to start or run



18
# File 'lib/ansible/ruby/modules/generated/extras/cloud/amazon/ecs_task.rb', line 18

attribute :task_definition