interface AutoScalingProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.KafkaConnect.CfnConnector.AutoScalingProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awskafkaconnect#CfnConnector_AutoScalingProperty |
Java | software.amazon.awscdk.services.kafkaconnect.CfnConnector.AutoScalingProperty |
Python | aws_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
Name | Type | Description |
---|---|---|
max | number | The maximum number of workers allocated to the connector. |
mcu | number | The number of microcontroller units (MCUs) allocated to each connector worker. |
min | number | The minimum number of workers allocated to the connector. |
scale | IResolvable | Scale | The sacle-in policy for the connector. |
scale | IResolvable | Scale | The 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
|
Scale
The sacle-in policy for the connector.
scaleOutPolicy
Type:
IResolvable
|
Scale
The sacle-out policy for the connector.