Class: Ansible::Ruby::Modules::Ecs_task
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Ecs_task
- Defined in:
- lib/ansible/ruby/modules/generated/cloud/amazon/ecs_task.rb
Overview
Creates or deletes instances of task definitions.
Instance Method Summary collapse
-
#cluster ⇒ String?
The name of the cluster to run the task on.
-
#container_instances ⇒ Array<String>, ...
The list of container instances on which to deploy the task.
-
#count ⇒ Integer?
How many new instances to start.
-
#network_configuration ⇒ Hash?
Network configuration of the service.
-
#operation ⇒ :run, ...
Which task operation to execute.
-
#overrides ⇒ Object?
A dictionary of values to pass to the new instances.
-
#started_by ⇒ String?
A value showing who or what started the task (for informational purposes).
-
#task ⇒ String?
The task to stop.
-
#task_definition ⇒ String?
The task definition to start or run.
Methods inherited from Base
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
#cluster ⇒ String?
Returns 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_instances ⇒ Array<String>, ...
Returns 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 |
#count ⇒ Integer?
Returns How many new instances to start.
27 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ecs_task.rb', line 27 attribute :count |
#network_configuration ⇒ Hash?
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.
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.
12 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ecs_task.rb', line 12 attribute :operation |
#overrides ⇒ Object?
Returns 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_by ⇒ String?
Returns 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 |
#task ⇒ String?
Returns The task to stop.
31 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ecs_task.rb', line 31 attribute :task |
#task_definition ⇒ String?
Returns The task definition to start or run.
20 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ecs_task.rb', line 20 attribute :task_definition |