interface CapacityProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.KafkaConnect.CfnConnector.CapacityProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awskafkaconnect#CfnConnector_CapacityProperty |
![]() | software.amazon.awscdk.services.kafkaconnect.CfnConnector.CapacityProperty |
![]() | aws_cdk.aws_kafkaconnect.CfnConnector.CapacityProperty |
![]() | aws-cdk-lib » aws_kafkaconnect » CfnConnector » CapacityProperty |
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 { aws_kafkaconnect as kafkaconnect } from 'aws-cdk-lib';
const capacityProperty: kafkaconnect.CfnConnector.CapacityProperty = {
autoScaling: {
maxWorkerCount: 123,
mcuCount: 123,
minWorkerCount: 123,
scaleInPolicy: {
cpuUtilizationPercentage: 123,
},
scaleOutPolicy: {
cpuUtilizationPercentage: 123,
},
},
provisionedCapacity: {
workerCount: 123,
// the properties below are optional
mcuCount: 123,
},
};
Properties
Name | Type | Description |
---|---|---|
auto | IResolvable | Auto | Information about the auto scaling parameters for the connector. |
provisioned | IResolvable | Provisioned | Details about a fixed capacity allocated to a connector. |
autoScaling?
Type:
IResolvable
|
Auto
(optional)
Information about the auto scaling parameters for the connector.
provisionedCapacity?
Type:
IResolvable
|
Provisioned
(optional)
Details about a fixed capacity allocated to a connector.