@Stability(value=Stable)
public static interface CfnConnector.AutoScalingProperty
extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnConnector.AutoScalingProperty.Builder
A builder for
CfnConnector.AutoScalingProperty |
static class |
CfnConnector.AutoScalingProperty.Jsii$Proxy
An implementation for
CfnConnector.AutoScalingProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnConnector.AutoScalingProperty.Builder |
builder() |
Number |
getMaxWorkerCount()
The maximum number of workers allocated to the connector.
|
Number |
getMcuCount()
The number of microcontroller units (MCUs) allocated to each connector worker.
|
Number |
getMinWorkerCount()
The minimum number of workers allocated to the connector.
|
Object |
getScaleInPolicy()
The sacle-in policy for the connector.
|
Object |
getScaleOutPolicy()
The sacle-out policy for the connector.
|
@Stability(value=Stable) @NotNull Number getMaxWorkerCount()
@Stability(value=Stable) @NotNull Number getMcuCount()
The valid values are 1,2,4,8.
@Stability(value=Stable) @NotNull Number getMinWorkerCount()
@Stability(value=Stable) @NotNull Object getScaleInPolicy()
@Stability(value=Stable) @NotNull Object getScaleOutPolicy()
@Stability(value=Stable) static CfnConnector.AutoScalingProperty.Builder builder()
Copyright © 2022. All rights reserved.