View a markdown version of this page

AWS::Batch::ComputeEnvironment InstanceRequirements - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

This is the new Amazon CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the Amazon CloudFormation User Guide.

AWS::Batch::ComputeEnvironment InstanceRequirements

The instance type requirements for the Amazon ECS Managed Instances capacity provider. Use this to specify which Amazon EC2 instance types or instance families Amazon ECS can launch.

Syntax

To declare this entity in your Amazon CloudFormation template, use the following syntax:

JSON

{ "AllowedInstanceTypes" : [ String, ... ] }

YAML

AllowedInstanceTypes: - String

Properties

AllowedInstanceTypes

A list of specific instance types or instance families that Amazon ECS can launch (for example, m5.large or g5). When specified, only these instance types are used.

Required: No

Type: Array of String

Update requires: No interruption