Skip to content
v2.276.0

ProvisionedCapacityProperty Struct ​

Details about a connector's provisioned capacity.

Example ​

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
# 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
// 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();
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
};
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 ​

mcuCountnumbermcu_countint | floatmcuCountNumberMcuCountdoubleMcuCount*float64required#
The number of microcontroller units (MCUs) allocated to each connector worker.

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

workerCountnumberworker_countint | floatworkerCountNumberWorkerCountdoubleWorkerCount*float64required#
The number of workers that are allocated to the connector.