

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::Bedrock::DataSource FixedSizeChunkingConfiguration
<a name="aws-properties-bedrock-datasource-fixedsizechunkingconfiguration"></a>

Configurations for when you choose fixed-size chunking. If you set the `chunkingStrategy` as `NONE`, exclude this field.

## Syntax
<a name="aws-properties-bedrock-datasource-fixedsizechunkingconfiguration-syntax"></a>

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

### JSON
<a name="aws-properties-bedrock-datasource-fixedsizechunkingconfiguration-syntax.json"></a>

```
{
  "[MaxTokens](#cfn-bedrock-datasource-fixedsizechunkingconfiguration-maxtokens)" : Integer,
  "[OverlapPercentage](#cfn-bedrock-datasource-fixedsizechunkingconfiguration-overlappercentage)" : Integer
}
```

### YAML
<a name="aws-properties-bedrock-datasource-fixedsizechunkingconfiguration-syntax.yaml"></a>

```
  [MaxTokens](#cfn-bedrock-datasource-fixedsizechunkingconfiguration-maxtokens): Integer
  [OverlapPercentage](#cfn-bedrock-datasource-fixedsizechunkingconfiguration-overlappercentage): Integer
```

## Properties
<a name="aws-properties-bedrock-datasource-fixedsizechunkingconfiguration-properties"></a>

`MaxTokens`  <a name="cfn-bedrock-datasource-fixedsizechunkingconfiguration-maxtokens"></a>
The maximum number of tokens to include in a chunk.  
*Required*: Yes  
*Type*: Integer  
*Minimum*: `1`  
*Update requires*: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)

`OverlapPercentage`  <a name="cfn-bedrock-datasource-fixedsizechunkingconfiguration-overlappercentage"></a>
The percentage of overlap between adjacent chunks of a data source.  
*Required*: Yes  
*Type*: Integer  
*Minimum*: `1`  
*Maximum*: `99`  
*Update requires*: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)