Interface CfnConnector.AutoScalingProperty
- All Superinterfaces:
- software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
- CfnConnector.AutoScalingProperty.Jsii$Proxy
- Enclosing class:
- CfnConnector
@Stability(Stable)
public static interface CfnConnector.AutoScalingProperty
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.kafkaconnect.*;
 AutoScalingProperty autoScalingProperty = AutoScalingProperty.builder()
         .maxWorkerCount(123)
         .mcuCount(123)
         .minWorkerCount(123)
         .scaleInPolicy(ScaleInPolicyProperty.builder()
                 .cpuUtilizationPercentage(123)
                 .build())
         .scaleOutPolicy(ScaleOutPolicyProperty.builder()
                 .cpuUtilizationPercentage(123)
                 .build())
         .build();
 - See Also:
- 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnConnector.AutoScalingPropertystatic final classAn implementation forCfnConnector.AutoScalingProperty
- 
Method SummaryModifier and TypeMethodDescriptionbuilder()The maximum number of workers allocated to the connector.The number of microcontroller units (MCUs) allocated to each connector worker.The minimum number of workers allocated to the connector.The sacle-in policy for the connector.The sacle-out policy for the connector.Methods inherited from interface software.amazon.jsii.JsiiSerializable$jsii$toJson
- 
Method Details- 
getMaxWorkerCountThe maximum number of workers allocated to the connector.- See Also:
 
- 
getMcuCountThe number of microcontroller units (MCUs) allocated to each connector worker.The valid values are 1,2,4,8. - See Also:
 
- 
getMinWorkerCountThe minimum number of workers allocated to the connector.- See Also:
 
- 
getScaleInPolicyThe sacle-in policy for the connector.Returns union: either IResolvableorCfnConnector.ScaleInPolicyProperty- See Also:
 
- 
getScaleOutPolicyThe sacle-out policy for the connector.Returns union: either IResolvableorCfnConnector.ScaleOutPolicyProperty- See Also:
 
- 
builder
 
-