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 Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnConnector.AutoScalingProperty
static final class
An implementation forCfnConnector.AutoScalingProperty
-
Method Summary
Modifier 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
-
getMaxWorkerCount
The maximum number of workers allocated to the connector.- See Also:
-
getMcuCount
The number of microcontroller units (MCUs) allocated to each connector worker.The valid values are 1,2,4,8.
- See Also:
-
getMinWorkerCount
The minimum number of workers allocated to the connector.- See Also:
-
getScaleInPolicy
The sacle-in policy for the connector.- See Also:
-
getScaleOutPolicy
The sacle-out policy for the connector.- See Also:
-
builder
-