View a markdown version of this page

AWS::Batch::ComputeEnvironment InstanceRequirements - AWS CloudFormation

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