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

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

Overview

Creates or deletes instances of task definitions.

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

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

attr_option, attr_options, attribute, fix_inclusion, #initialize, remove_existing_validations, #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



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

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



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

attribute :container_instances

#countInteger?

Returns How many new instances to start.

Returns:

  • (Integer, nil)

    How many new instances to start



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

attribute :count

#network_configurationHash?

Returns network configuration of the service. Only applicable for task definitions created with C(awsvpc) I(network_mode).,I(network_configuration) has two keys, I(subnets), a list of subnet IDs to which the task is attached and I(security_groups), a list of group names or group IDs for the task.

Returns:

  • (Hash, nil)

    network configuration of the service. Only applicable for task definitions created with C(awsvpc) I(network_mode).,I(network_configuration) has two keys, I(subnets), a list of subnet IDs to which the task is attached and I(security_groups), a list of group names or group IDs for the task



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

attribute :network_configuration

#operation:run, ...

Returns Which task operation to execute.

Returns:

  • (:run, :start, :stop)

    Which task operation to execute



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

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



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

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)



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

attribute :started_by

#taskString?

Returns The task to stop.

Returns:

  • (String, nil)

    The task to stop



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

attribute :task

#task_definitionString?

Returns The task definition to start or run.

Returns:

  • (String, nil)

    The task definition to start or run



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

attribute :task_definition