Class: Ansible::Ruby::Modules::Aws_batch_compute_environment
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Aws_batch_compute_environment
- Defined in:
- lib/ansible/ruby/modules/generated/cloud/amazon/aws_batch_compute_environment.rb
Overview
This module allows the management of AWS Batch Compute Environments. 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
-
#bid_percentage ⇒ Object?
The minimum percentage that a Spot Instance price must be when compared with the On-Demand price for that instance type before instances are launched.
-
#compute_environment_name ⇒ Object
The name for your compute environment.
-
#compute_environment_state ⇒ :ENABLED, ...
The state of the compute environment.
-
#compute_resource_type ⇒ :EC2, :SPOT
The type of compute resource.
-
#desiredv_cpus ⇒ Object?
The desired number of EC2 vCPUS in the compute environment.
-
#ec2_key_pair ⇒ Object?
The EC2 key pair that is used for instances launched in the compute environment.
-
#image_id ⇒ Object?
The Amazon Machine Image (AMI) ID used for instances launched in the compute environment.
-
#instance_role ⇒ Object
The Amazon ECS instance role applied to Amazon EC2 instances in a compute environment.
-
#instance_types ⇒ Object
The instance types that may be launched.
-
#maxv_cpus ⇒ Object
The maximum number of EC2 vCPUs that an environment can reach.
-
#minv_cpus ⇒ Object
The minimum number of EC2 vCPUs that an environment should maintain.
-
#security_group_ids ⇒ Object
The EC2 security groups that are associated with instances launched in the compute environment.
-
#service_role ⇒ Object
The full Amazon Resource Name (ARN) of the IAM role that allows AWS Batch to make calls to other AWS services on your behalf.
-
#spot_iam_fleet_role ⇒ Object?
The Amazon Resource Name (ARN) of the Amazon EC2 Spot Fleet IAM role applied to a SPOT compute environment.
-
#state ⇒ :present, :absent
Describes the desired state.
-
#subnets ⇒ Object
The VPC subnets into which the compute resources are launched.
-
#tags ⇒ Object?
Key-value pair tags to be applied to resources that are launched in the compute environment.
-
#type ⇒ :MANAGED, :UNMANAGED
The type of the compute environment.
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
#bid_percentage ⇒ Object?
72 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/aws_batch_compute_environment.rb', line 72 attribute :bid_percentage |
#compute_environment_name ⇒ Object
12 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/aws_batch_compute_environment.rb', line 12 attribute :compute_environment_name |
#compute_environment_state ⇒ :ENABLED, ...
24 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/aws_batch_compute_environment.rb', line 24 attribute :compute_environment_state |
#compute_resource_type ⇒ :EC2, :SPOT
32 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/aws_batch_compute_environment.rb', line 32 attribute :compute_resource_type |
#desiredv_cpus ⇒ Object?
44 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/aws_batch_compute_environment.rb', line 44 attribute :desiredv_cpus |
#ec2_key_pair ⇒ Object?
62 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/aws_batch_compute_environment.rb', line 62 attribute :ec2_key_pair |
#image_id ⇒ Object?
51 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/aws_batch_compute_environment.rb', line 51 attribute :image_id |
#instance_role ⇒ Object
65 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/aws_batch_compute_environment.rb', line 65 attribute :instance_role |
#instance_types ⇒ Object
47 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/aws_batch_compute_environment.rb', line 47 attribute :instance_types |
#maxv_cpus ⇒ Object
40 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/aws_batch_compute_environment.rb', line 40 attribute :maxv_cpus |
#minv_cpus ⇒ Object
36 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/aws_batch_compute_environment.rb', line 36 attribute :minv_cpus |
#security_group_ids ⇒ Object
58 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/aws_batch_compute_environment.rb', line 58 attribute :security_group_ids |
#service_role ⇒ Object
28 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/aws_batch_compute_environment.rb', line 28 attribute :service_role |
#spot_iam_fleet_role ⇒ Object?
75 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/aws_batch_compute_environment.rb', line 75 attribute :spot_iam_fleet_role |
#state ⇒ :present, :absent
20 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/aws_batch_compute_environment.rb', line 20 attribute :state |
#subnets ⇒ Object
54 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/aws_batch_compute_environment.rb', line 54 attribute :subnets |
#tags ⇒ Object?
69 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/aws_batch_compute_environment.rb', line 69 attribute :tags |
#type ⇒ :MANAGED, :UNMANAGED
16 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/aws_batch_compute_environment.rb', line 16 attribute :type |