AWS::Batch::ComputeEnvironment InstanceRequirements - AWS CloudFormation
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

This is the new CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS 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 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