Class: Ansible::Ruby::Modules::Ecs_taskdefinition
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Ecs_taskdefinition
- Defined in:
- lib/ansible/ruby/modules/generated/cloud/amazon/ecs_taskdefinition.rb
Overview
Registers or deregisters task definitions in the Amazon Web Services (AWS) EC2 Container Service (ECS)
Instance Method Summary collapse
-
#arn ⇒ Object?
The arn of the task description to delete.
-
#containers ⇒ Array<Hash>, ...
A list of containers definitions.
-
#cpu ⇒ Integer?
The number of cpu units used by the task.
-
#execution_role_arn ⇒ Object?
The Amazon Resource Name (ARN) of the task execution role that the Amazon ECS container agent and the Docker daemon can assume.
-
#family ⇒ String?
A Name that would be given to the task definition.
-
#force_create ⇒ Object?
Always create new task definition.
-
#launch_type ⇒ :EC2, ...
The launch type on which to run your task.
-
#memory ⇒ String?
The amount (in MiB) of memory used by the task.
-
#network_mode ⇒ :bridge, ...
The Docker networking mode to use for the containers in the task.,C(awsvpc) mode was added in Ansible 2.5.
-
#revision ⇒ Object?
A revision number for the task definition.
-
#state ⇒ :present, :absent
State whether the task definition should exist or be deleted.
-
#task_role_arn ⇒ Object?
The Amazon Resource Name (ARN) of the IAM role that containers in this task can assume.
-
#volumes ⇒ Array<Hash>, ...
A list of names of volumes to be attached.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, #initialize, remove_existing_validations, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#arn ⇒ Object?
16 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ecs_taskdefinition.rb', line 16 attribute :arn |
#containers ⇒ Array<Hash>, ...
29 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ecs_taskdefinition.rb', line 29 attribute :containers |
#cpu ⇒ Integer?
51 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ecs_taskdefinition.rb', line 51 attribute :cpu |
#execution_role_arn ⇒ Object?
40 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ecs_taskdefinition.rb', line 40 attribute :execution_role_arn |
#family ⇒ String?
19 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ecs_taskdefinition.rb', line 19 attribute :family |
#force_create ⇒ Object?
26 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ecs_taskdefinition.rb', line 26 attribute :force_create |
#launch_type ⇒ :EC2, ...
47 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ecs_taskdefinition.rb', line 47 attribute :launch_type |
#memory ⇒ String?
55 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ecs_taskdefinition.rb', line 55 attribute :memory |
#network_mode ⇒ :bridge, ...
33 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ecs_taskdefinition.rb', line 33 attribute :network_mode |
#revision ⇒ Object?
23 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ecs_taskdefinition.rb', line 23 attribute :revision |
#state ⇒ :present, :absent
12 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ecs_taskdefinition.rb', line 12 attribute :state |
#task_role_arn ⇒ Object?
37 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ecs_taskdefinition.rb', line 37 attribute :task_role_arn |
#volumes ⇒ Array<Hash>, ...
43 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ecs_taskdefinition.rb', line 43 attribute :volumes |