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();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnConnector.CapacityProperty
static final class
An 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.- See Also:
-
getProvisionedCapacity
Details about a fixed capacity allocated to a connector.- See Also:
-
builder
-