interface AutoScalingProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.KafkaConnect.Mixins.CfnConnectorPropsMixin.AutoScalingProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awskafkaconnect/mixins#CfnConnectorPropsMixin_AutoScalingProperty |
Java | software.amazon.awscdk.mixins.preview.services.kafkaconnect.mixins.CfnConnectorPropsMixin.AutoScalingProperty |
Python | aws_cdk.mixins_preview.aws_kafkaconnect.mixins.CfnConnectorPropsMixin.AutoScalingProperty |
TypeScript | @aws-cdk/mixins-preview » aws_kafkaconnect » mixins » CfnConnectorPropsMixin » 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 { mixins as kafkaconnect_mixins } from '@aws-cdk/mixins-preview/aws-kafkaconnect';
const autoScalingProperty: kafkaconnect_mixins.CfnConnectorPropsMixin.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
(optional)
The maximum number of workers allocated to the connector.
mcuCount?
Type:
number
(optional)
The number of microcontroller units (MCUs) allocated to each connector worker.
The valid values are 1,2,4,8.
minWorkerCount?
Type:
number
(optional)
The minimum number of workers allocated to the connector.
scaleInPolicy?
Type:
IResolvable | Scale
(optional)
The sacle-in policy for the connector.
scaleOutPolicy?
Type:
IResolvable | Scale
(optional)
The sacle-out policy for the connector.

.NET
Go
Java
Python
TypeScript