# HierarchicalChunkingLevelConfigurationProperty

Token settings for a layer in a hierarchical chunking configuration.

- Source: Generated at build time
- Type last changed: v2.154.0 · 22 Aug 2024

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_bedrock as bedrock } from 'aws-cdk-lib';
const hierarchicalChunkingLevelConfigurationProperty: bedrock.CfnDataSource.HierarchicalChunkingLevelConfigurationProperty = {
  maxTokens: 123,
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_bedrock as bedrock

hierarchical_chunking_level_configuration_property = bedrock.CfnDataSource.HierarchicalChunkingLevelConfigurationProperty(
    max_tokens=123
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.bedrock.*;

HierarchicalChunkingLevelConfigurationProperty hierarchicalChunkingLevelConfigurationProperty = HierarchicalChunkingLevelConfigurationProperty.builder()
        .maxTokens(123)
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Bedrock;

var hierarchicalChunkingLevelConfigurationProperty = new HierarchicalChunkingLevelConfigurationProperty {
    MaxTokens = 123
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

hierarchicalChunkingLevelConfigurationProperty := &HierarchicalChunkingLevelConfigurationProperty{
	MaxTokens: jsii.Number(123),
}
```

## Properties

- `maxTokens`: number (required) — The maximum number of tokens that a chunk can contain in this layer.
