aws-cdk-lib.aws_kafkaconnect.CfnConnector.AutoScalingProperty

interface AutoScalingProperty

LanguageType name
.NETAmazon.CDK.AWS.KafkaConnect.CfnConnector.AutoScalingProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awskafkaconnect#CfnConnector_AutoScalingProperty
Javasoftware.amazon.awscdk.services.kafkaconnect.CfnConnector.AutoScalingProperty
Pythonaws_cdk.aws_kafkaconnect.CfnConnector.AutoScalingProperty
TypeScript aws-cdk-lib » aws_kafkaconnect » CfnConnector » AutoScalingProperty

Specifies how the connector scales.

Example

// 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 autoScalingProperty: kafkaconnect.CfnConnector.AutoScalingProperty = {
  maxWorkerCount: 123,
  mcuCount: 123,
  minWorkerCount: 123,
  scaleInPolicy: {
    cpuUtilizationPercentage: 123,
  },
  scaleOutPolicy: {
    cpuUtilizationPercentage: 123,
  },
};

Properties

NameTypeDescription
maxWorkerCountnumberThe maximum number of workers allocated to the connector.
mcuCountnumberThe number of microcontroller units (MCUs) allocated to each connector worker.
minWorkerCountnumberThe minimum number of workers allocated to the connector.
scaleInPolicyIResolvable | ScaleInPolicyPropertyThe sacle-in policy for the connector.
scaleOutPolicyIResolvable | ScaleOutPolicyPropertyThe sacle-out policy for the connector.

maxWorkerCount

Type: number

The maximum number of workers allocated to the connector.


mcuCount

Type: number

The number of microcontroller units (MCUs) allocated to each connector worker.

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


minWorkerCount

Type: number

The minimum number of workers allocated to the connector.


scaleInPolicy

Type: IResolvable | ScaleInPolicyProperty

The sacle-in policy for the connector.


scaleOutPolicy

Type: IResolvable | ScaleOutPolicyProperty

The sacle-out policy for the connector.