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();
 
  • Method Details

    • getMaxWorkerCount

      @Stability(Stable) @NotNull Number getMaxWorkerCount()
      The maximum number of workers allocated to the connector.
    • getMcuCount

      @Stability(Stable) @NotNull Number getMcuCount()
      The number of microcontroller units (MCUs) allocated to each connector worker.

      The valid values are 1,2,4,8.

    • getMinWorkerCount

      @Stability(Stable) @NotNull Number getMinWorkerCount()
      The minimum number of workers allocated to the connector.
    • getScaleInPolicy

      @Stability(Stable) @NotNull Object getScaleInPolicy()
      The sacle-in policy for the connector.
    • getScaleOutPolicy

      @Stability(Stable) @NotNull Object getScaleOutPolicy()
      The sacle-out policy for the connector.
    • builder

      @Stability(Stable) static CfnConnector.AutoScalingProperty.Builder builder()
      Returns:
      a CfnConnector.AutoScalingProperty.Builder of CfnConnector.AutoScalingProperty