Class EnableScalingProps
Properties for enabling DynamoDB capacity scaling.
Inheritance
System.Object
EnableScalingProps
Implements
Namespace: Amazon.CDK.AWS.DynamoDB
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class EnableScalingProps : Object, IEnableScalingProps
Syntax (vb)
Public Class EnableScalingProps
Inherits Object
Implements IEnableScalingProps
Remarks
ExampleMetadata: infused
Examples
using Amazon.CDK.AWS.DynamoDB;
Table table;
var readCapacity = table.AutoScaleReadCapacity(new EnableScalingProps {
MinCapacity = 10,
MaxCapacity = 1000
});
readCapacity.ScaleOnUtilization(new UtilizationScalingProps {
TargetUtilizationPercent = 60
});
Synopsis
Constructors
EnableScalingProps() |
Properties
MaxCapacity | Maximum capacity to scale to. |
MinCapacity | Minimum capacity to scale to. |
Constructors
EnableScalingProps()
public EnableScalingProps()
Properties
MaxCapacity
Maximum capacity to scale to.
public double MaxCapacity { get; set; }
Property Value
System.Double
MinCapacity
Minimum capacity to scale to.
public double MinCapacity { get; set; }
Property Value
System.Double