# ProvisionedCapacityProperty

Details about a connector's provisioned capacity.

- Source: Generated at build time
- Type last changed: v2.249.0 · 13 Apr 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_kafkaconnect as kafkaconnect } from 'aws-cdk-lib';
const provisionedCapacityProperty: kafkaconnect.CfnConnector.ProvisionedCapacityProperty = {
  mcuCount: 123,
  workerCount: 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_kafkaconnect as kafkaconnect

provisioned_capacity_property = kafkaconnect.CfnConnector.ProvisionedCapacityProperty(
    mcu_count=123,
    worker_count=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.kafkaconnect.*;

ProvisionedCapacityProperty provisionedCapacityProperty = ProvisionedCapacityProperty.builder()
        .mcuCount(123)
        .workerCount(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.KafkaConnect;

var provisionedCapacityProperty = new ProvisionedCapacityProperty {
    McuCount = 123,
    WorkerCount = 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"

provisionedCapacityProperty := &ProvisionedCapacityProperty{
	McuCount: jsii.Number(123),
	WorkerCount: jsii.Number(123),
}
```

## Properties

- `mcuCount`: number (required) — The number of microcontroller units (MCUs) allocated to each connector worker.

  The valid values are 1,2,4,8.

- `workerCount`: number (required) — The number of workers that are allocated to the connector.
