@Stability(value=Stable)
public static interface CfnConnector.CapacityProperty
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.*;
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnConnector.CapacityProperty.Builder
A builder for
CfnConnector.CapacityProperty |
static class |
CfnConnector.CapacityProperty.Jsii$Proxy
An implementation for
CfnConnector.CapacityProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnConnector.CapacityProperty.Builder |
builder() |
default Object |
getAutoScaling()
Information about the auto scaling parameters for the connector.
|
default Object |
getProvisionedCapacity()
Details about a fixed capacity allocated to a connector.
|
@Stability(value=Stable) @Nullable default Object getAutoScaling()
@Stability(value=Stable) @Nullable default Object getProvisionedCapacity()
@Stability(value=Stable) static CfnConnector.CapacityProperty.Builder builder()
Copyright © 2022. All rights reserved.