Class: Ansible::Ruby::Modules::Aws_batch_job_definition
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Aws_batch_job_definition
- Defined in:
- lib/ansible/ruby/modules/generated/cloud/amazon/aws_batch_job_definition.rb
Overview
This module allows the management of AWS Batch Job Definitions. It is idempotent and supports “Check” mode. Use module M(aws_batch_compute_environment) to manage the compute environment, M(aws_batch_job_queue) to manage job queues, M(aws_batch_job_definition) to manage job definitions.
Instance Method Summary collapse
-
#attempts ⇒ Integer?
Retry strategy - The number of times to move a job to the RUNNABLE status.
-
#command ⇒ Array<String>, ...
The command that is passed to the container.
-
#environment ⇒ Object?
The environment variables to pass to a container.
-
#image ⇒ String?
The image used to start a container.
-
#job_definition_arn ⇒ Object?
The arn for the job definition.
-
#job_definition_name ⇒ String
The name for the job definition.
-
#job_role_arn ⇒ String?
The Amazon Resource Name (ARN) of the IAM role that the container can assume for AWS permissions.
-
#memory ⇒ Integer?
The hard limit (in MiB) of memory to present to the container.
-
#mount_points ⇒ Object?
The mount points for data volumes in your container.
-
#parameters ⇒ Hash?
Default parameter substitution placeholders to set in the job definition.
-
#privileged ⇒ Object?
When this parameter is true, the container is given elevated privileges on the host container instance (similar to the root user).
-
#readonly_root_filesystem ⇒ Object?
When this parameter is true, the container is given read-only access to its root file system.
-
#state ⇒ :present, :absent
Describes the desired state.
-
#type ⇒ String
The type of job definition.
-
#ulimits ⇒ Object?
A list of ulimits to set in the container.
-
#user ⇒ Object?
The user name to use inside the container.
-
#vcpus ⇒ Integer?
The number of vCPUs reserved for the container.
-
#volumes ⇒ Object?
A list of data volumes used in a job.
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
#attempts ⇒ Integer?
72 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/aws_batch_job_definition.rb', line 72 attribute :attempts |
#command ⇒ Array<String>, ...
43 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/aws_batch_job_definition.rb', line 43 attribute :command |
#environment ⇒ Object?
54 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/aws_batch_job_definition.rb', line 54 attribute :environment |
#image ⇒ String?
31 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/aws_batch_job_definition.rb', line 31 attribute :image |
#job_definition_arn ⇒ Object?
12 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/aws_batch_job_definition.rb', line 12 attribute :job_definition_arn |
#job_definition_name ⇒ String
15 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/aws_batch_job_definition.rb', line 15 attribute :job_definition_name |
#job_role_arn ⇒ String?
47 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/aws_batch_job_definition.rb', line 47 attribute :job_role_arn |
#memory ⇒ Integer?
39 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/aws_batch_job_definition.rb', line 39 attribute :memory |
#mount_points ⇒ Object?
57 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/aws_batch_job_definition.rb', line 57 attribute :mount_points |
#parameters ⇒ Hash?
27 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/aws_batch_job_definition.rb', line 27 attribute :parameters |
#privileged ⇒ Object?
63 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/aws_batch_job_definition.rb', line 63 attribute :privileged |
#readonly_root_filesystem ⇒ Object?
60 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/aws_batch_job_definition.rb', line 60 attribute :readonly_root_filesystem |
#state ⇒ :present, :absent
19 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/aws_batch_job_definition.rb', line 19 attribute :state |
#type ⇒ String
23 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/aws_batch_job_definition.rb', line 23 attribute :type |
#ulimits ⇒ Object?
66 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/aws_batch_job_definition.rb', line 66 attribute :ulimits |
#user ⇒ Object?
69 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/aws_batch_job_definition.rb', line 69 attribute :user |
#vcpus ⇒ Integer?
35 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/aws_batch_job_definition.rb', line 35 attribute :vcpus |
#volumes ⇒ Object?
51 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/aws_batch_job_definition.rb', line 51 attribute :volumes |