Class CfnConnector.CapacityProperty
Information about the capacity of the connector, whether it is auto scaled or provisioned.
Inheritance
System.Object
CfnConnector.CapacityProperty
Implements
Namespace: Amazon.CDK.AWS.KafkaConnect
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CapacityProperty : Object, CfnConnector.ICapacityProperty
Syntax (vb)
Public Class CapacityProperty
Inherits Object
Implements CfnConnector.ICapacityProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.KafkaConnect;
var capacityProperty = new CapacityProperty {
AutoScaling = new AutoScalingProperty {
MaxWorkerCount = 123,
McuCount = 123,
MinWorkerCount = 123,
ScaleInPolicy = new ScaleInPolicyProperty {
CpuUtilizationPercentage = 123
},
ScaleOutPolicy = new ScaleOutPolicyProperty {
CpuUtilizationPercentage = 123
}
},
ProvisionedCapacity = new ProvisionedCapacityProperty {
WorkerCount = 123,
// the properties below are optional
McuCount = 123
}
};
Synopsis
Constructors
CapacityProperty() |
Properties
AutoScaling | Information about the auto scaling parameters for the connector. |
ProvisionedCapacity | Details about a fixed capacity allocated to a connector. |
Constructors
CapacityProperty()
public CapacityProperty()
Properties
AutoScaling
Information about the auto scaling parameters for the connector.
public object AutoScaling { get; set; }
Property Value
System.Object
Remarks
ProvisionedCapacity
Details about a fixed capacity allocated to a connector.
public object ProvisionedCapacity { get; set; }
Property Value
System.Object