

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::CodeBuild::Project ProjectBuildBatchConfig
<a name="aws-properties-codebuild-project-projectbuildbatchconfig"></a>

Contains configuration information about a batch build project.

## Syntax
<a name="aws-properties-codebuild-project-projectbuildbatchconfig-syntax"></a>

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

### JSON
<a name="aws-properties-codebuild-project-projectbuildbatchconfig-syntax.json"></a>

```
{
  "[BatchReportMode](#cfn-codebuild-project-projectbuildbatchconfig-batchreportmode)" : String,
  "[CombineArtifacts](#cfn-codebuild-project-projectbuildbatchconfig-combineartifacts)" : Boolean,
  "[Restrictions](#cfn-codebuild-project-projectbuildbatchconfig-restrictions)" : BatchRestrictions,
  "[ServiceRole](#cfn-codebuild-project-projectbuildbatchconfig-servicerole)" : String,
  "[TimeoutInMins](#cfn-codebuild-project-projectbuildbatchconfig-timeoutinmins)" : Integer
}
```

### YAML
<a name="aws-properties-codebuild-project-projectbuildbatchconfig-syntax.yaml"></a>

```
  [BatchReportMode](#cfn-codebuild-project-projectbuildbatchconfig-batchreportmode): String
  [CombineArtifacts](#cfn-codebuild-project-projectbuildbatchconfig-combineartifacts): Boolean
  [Restrictions](#cfn-codebuild-project-projectbuildbatchconfig-restrictions): 
    BatchRestrictions
  [ServiceRole](#cfn-codebuild-project-projectbuildbatchconfig-servicerole): String
  [TimeoutInMins](#cfn-codebuild-project-projectbuildbatchconfig-timeoutinmins): Integer
```

## Properties
<a name="aws-properties-codebuild-project-projectbuildbatchconfig-properties"></a>

`BatchReportMode`  <a name="cfn-codebuild-project-projectbuildbatchconfig-batchreportmode"></a>
Specifies how build status reports are sent to the source provider for the batch build. This property is only used when the source provider for your project is Bitbucket, GitHub, or GitHub Enterprise, and your project is configured to report build statuses to the source provider.    
REPORT\$1AGGREGATED\$1BATCH  
(Default) Aggregate all of the build statuses into a single status report.  
REPORT\$1INDIVIDUAL\$1BUILDS  
Send a separate status report for each individual build.
*Required*: No  
*Type*: String  
*Allowed values*: `REPORT_INDIVIDUAL_BUILDS | REPORT_AGGREGATED_BATCH`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`CombineArtifacts`  <a name="cfn-codebuild-project-projectbuildbatchconfig-combineartifacts"></a>
Specifies if the build artifacts for the batch build should be combined into a single artifact location.  
*Required*: No  
*Type*: Boolean  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Restrictions`  <a name="cfn-codebuild-project-projectbuildbatchconfig-restrictions"></a>
A `BatchRestrictions` object that specifies the restrictions for the batch build.  
*Required*: No  
*Type*: [BatchRestrictions](aws-properties-codebuild-project-batchrestrictions.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`ServiceRole`  <a name="cfn-codebuild-project-projectbuildbatchconfig-servicerole"></a>
Specifies the service role ARN for the batch build project.  
*Required*: No  
*Type*: String  
*Minimum*: `1`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`TimeoutInMins`  <a name="cfn-codebuild-project-projectbuildbatchconfig-timeoutinmins"></a>
Specifies the maximum amount of time, in minutes, that the batch build must be completed in.  
*Required*: No  
*Type*: Integer  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)