Method: Aws::Batch::Types::ComputeResource#launch_template
- Defined in:
- lib/aws-sdk-batch/types.rb
#launch_template ⇒ Types::LaunchTemplateSpecification
The launch template to use for your compute resources. Any other compute resource parameters that you specify in a
- CreateComputeEnvironment][1
-
API operation override the same
parameters in the launch template. You must specify either the launch template ID or launch template name in the request, but not both. For more information, see [Launch template support] in the *Batch User Guide*.
<note markdown=“1”> This parameter isn’t applicable to jobs that are running on Fargate resources. Don’t specify it.
</note>
[1]: docs.aws.amazon.com/batch/latest/APIReference/API_CreateComputeEnvironment.html [2]: docs.aws.amazon.com/batch/latest/userguide/launch-templates.html
902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 |
# File 'lib/aws-sdk-batch/types.rb', line 902 class ComputeResource < Struct.new( :type, :allocation_strategy, :minv_cpus, :maxv_cpus, :desiredv_cpus, :instance_types, :image_id, :subnets, :security_group_ids, :ec2_key_pair, :instance_role, :tags, :placement_group, :bid_percentage, :spot_iam_fleet_role, :launch_template, :ec2_configuration) SENSITIVE = [] include Aws::Structure end |