Interface CfnConnectorPropsMixin.AutoScalingProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnConnectorPropsMixin.AutoScalingProperty.Jsii$Proxy
- Enclosing class:
CfnConnectorPropsMixin
@Stability(Stable)
public static interface CfnConnectorPropsMixin.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.cfnpropertymixins.services.kafkaconnect.*;
AutoScalingProperty autoScalingProperty = AutoScalingProperty.builder()
.maxAutoscalingTaskCount(123)
.maxWorkerCount(123)
.mcuCount(123)
.minWorkerCount(123)
.scaleInPolicy(ScaleInPolicyProperty.builder()
.cpuUtilizationPercentage(123)
.build())
.scaleOutPolicy(ScaleOutPolicyProperty.builder()
.cpuUtilizationPercentage(123)
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnConnectorPropsMixin.AutoScalingPropertystatic final classAn implementation forCfnConnectorPropsMixin.AutoScalingProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default NumberThe maximum number of tasks allocated to the connector during autoscaling operations.default NumberThe maximum number of workers allocated to the connector.default NumberThe number of microcontroller units (MCUs) allocated to each connector worker.default NumberThe minimum number of workers allocated to the connector.default ObjectThe sacle-in policy for the connector.default ObjectThe sacle-out policy for the connector.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getMaxAutoscalingTaskCount
The maximum number of tasks allocated to the connector during autoscaling operations.- See Also:
-
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.Returns union: either
IResolvableorCfnConnectorPropsMixin.ScaleInPolicyProperty- See Also:
-
getScaleOutPolicy
The sacle-out policy for the connector.Returns union: either
IResolvableorCfnConnectorPropsMixin.ScaleOutPolicyProperty- See Also:
-
builder
-