

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](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/Welcome.html).

# AWS::Batch::JobDefinition MultiNodeEcsProperties
<a name="aws-properties-batch-jobdefinition-multinodeecsproperties"></a>

An object that contains the properties for the Amazon ECS resources of a job.

## Syntax
<a name="aws-properties-batch-jobdefinition-multinodeecsproperties-syntax"></a>

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

### JSON
<a name="aws-properties-batch-jobdefinition-multinodeecsproperties-syntax.json"></a>

```
{
  "[TaskProperties](#cfn-batch-jobdefinition-multinodeecsproperties-taskproperties)" : [ MultiNodeEcsTaskProperties, ... ]
}
```

### YAML
<a name="aws-properties-batch-jobdefinition-multinodeecsproperties-syntax.yaml"></a>

```
  [TaskProperties](#cfn-batch-jobdefinition-multinodeecsproperties-taskproperties): 
    - MultiNodeEcsTaskProperties
```

## Properties
<a name="aws-properties-batch-jobdefinition-multinodeecsproperties-properties"></a>

`TaskProperties`  <a name="cfn-batch-jobdefinition-multinodeecsproperties-taskproperties"></a>
An object that contains the properties for the Amazon ECS task definition of a job.  
This object is currently limited to one task element. However, the task element can run up to 10 containers.
*Required*: Yes  
*Type*: Array of [MultiNodeEcsTaskProperties](aws-properties-batch-jobdefinition-multinodeecstaskproperties.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)