aws-cdk-lib.aws_kafkaconnect.CfnConnector.CapacityProperty

interface CapacityProperty

LanguageType name
.NETAmazon.CDK.AWS.KafkaConnect.CfnConnector.CapacityProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awskafkaconnect#CfnConnector_CapacityProperty
Javasoftware.amazon.awscdk.services.kafkaconnect.CfnConnector.CapacityProperty
Pythonaws_cdk.aws_kafkaconnect.CfnConnector.CapacityProperty
TypeScript 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

NameTypeDescription
autoScaling?IResolvable | AutoScalingPropertyInformation about the auto scaling parameters for the connector.
provisionedCapacity?IResolvable | ProvisionedCapacityPropertyDetails about a fixed capacity allocated to a connector.

autoScaling?

Type: IResolvable | AutoScalingProperty (optional)

Information about the auto scaling parameters for the connector.


provisionedCapacity?

Type: IResolvable | ProvisionedCapacityProperty (optional)

Details about a fixed capacity allocated to a connector.