public static interface CfnConnector.CapacityProperty
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 java.lang.Object |
getAutoScaling()
Information about the auto scaling parameters for the connector.
|
default java.lang.Object |
getProvisionedCapacity()
Details about a fixed capacity allocated to a connector.
|
default java.lang.Object getAutoScaling()
default java.lang.Object getProvisionedCapacity()
static CfnConnector.CapacityProperty.Builder builder()