Interface CfnConnector.CapacityProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnConnector.CapacityProperty.Jsii$Proxy
- Enclosing class:
- CfnConnector
@Stability(Stable)
public static interface CfnConnector.CapacityProperty
extends software.amazon.jsii.JsiiSerializable
Information about the capacity of the connector, whether it is auto scaled or provisioned.
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.*;
CapacityProperty capacityProperty = CapacityProperty.builder()
.autoScaling(AutoScalingProperty.builder()
.maxWorkerCount(123)
.mcuCount(123)
.minWorkerCount(123)
.scaleInPolicy(ScaleInPolicyProperty.builder()
.cpuUtilizationPercentage(123)
.build())
.scaleOutPolicy(ScaleOutPolicyProperty.builder()
.cpuUtilizationPercentage(123)
.build())
.build())
.provisionedCapacity(ProvisionedCapacityProperty.builder()
.workerCount(123)
// the properties below are optional
.mcuCount(123)
.build())
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnConnector.CapacityPropertystatic final classAn implementation forCfnConnector.CapacityProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAutoScaling
Information about the auto scaling parameters for the connector. -
getProvisionedCapacity
Details about a fixed capacity allocated to a connector. -
builder
-