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: