interface AutoScalingProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.KafkaConnect.CfnConnectorPropsMixin.AutoScalingProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awskafkaconnect#CfnConnectorPropsMixin_AutoScalingProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.kafkaconnect.CfnConnectorPropsMixin.AutoScalingProperty |
Python | aws_cdk.cfn_property_mixins.aws_kafkaconnect.CfnConnectorPropsMixin.AutoScalingProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_kafkaconnect » 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 { aws_kafkaconnect as kafkaconnect } from '@aws-cdk/cfn-property-mixins';
const autoScalingProperty: kafkaconnect.CfnConnectorPropsMixin.AutoScalingProperty = {
maxAutoscalingTaskCount: 123,
maxWorkerCount: 123,
mcuCount: 123,
minWorkerCount: 123,
scaleInPolicy: {
cpuUtilizationPercentage: 123,
},
scaleOutPolicy: {
cpuUtilizationPercentage: 123,
},
};
Properties
| Name | Type | Description |
|---|---|---|
| max | number | The maximum number of tasks allocated to the connector during autoscaling operations. |
| 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. |
maxAutoscalingTaskCount?
Type:
number
(optional)
The maximum number of tasks allocated to the connector during autoscaling operations.
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