# BatchConfigProperty

- Source: Generated at build time
- Type last changed: v2.254.0 · 13 May 2026

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_iot as iot } from 'aws-cdk-lib';
const batchConfigProperty: iot.CfnTopicRule.BatchConfigProperty = {
  batchAcrossTopics: false,
  maxBatchOpenMs: 123,
  maxBatchSize: 123,
  maxBatchSizeBytes: 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_iot as iot

batch_config_property = iot.CfnTopicRule.BatchConfigProperty(
    batch_across_topics=False,
    max_batch_open_ms=123,
    max_batch_size=123,
    max_batch_size_bytes=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.iot.*;

BatchConfigProperty batchConfigProperty = BatchConfigProperty.builder()
        .batchAcrossTopics(false)
        .maxBatchOpenMs(123)
        .maxBatchSize(123)
        .maxBatchSizeBytes(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.IoT;

var batchConfigProperty = new BatchConfigProperty {
    BatchAcrossTopics = false,
    MaxBatchOpenMs = 123,
    MaxBatchSize = 123,
    MaxBatchSizeBytes = 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"

batchConfigProperty := &BatchConfigProperty{
	BatchAcrossTopics: jsii.Boolean(false),
	MaxBatchOpenMs: jsii.Number(123),
	MaxBatchSize: jsii.Number(123),
	MaxBatchSizeBytes: jsii.Number(123),
}
```

## Properties

- `batchAcrossTopics`: boolean | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html)

- `maxBatchOpenMs`: number

- `maxBatchSize`: number

- `maxBatchSizeBytes`: number
