Interface IUtilizationScalingProps
Properties for enabling DynamoDB utilization tracking.
Inherited Members
Namespace: Amazon.CDK.AWS.DynamoDB
Assembly: Amazon.CDK.AWS.DynamoDB.dll
Syntax (csharp)
public interface IUtilizationScalingProps : IBaseTargetTrackingProps
Syntax (vb)
Public Interface IUtilizationScalingProps
Inherits IBaseTargetTrackingProps
Remarks
ExampleMetadata: infused
Examples
var globalTable = new Table(this, "Table", new TableProps {
PartitionKey = new Attribute { Name = "id", Type = AttributeType.STRING },
ReplicationRegions = new [] { "us-east-1", "us-east-2", "us-west-2" },
BillingMode = BillingMode.PROVISIONED
});
globalTable.AutoScaleWriteCapacity(new EnableScalingProps {
MinCapacity = 1,
MaxCapacity = 10
}).ScaleOnUtilization(new UtilizationScalingProps { TargetUtilizationPercent = 75 });
Synopsis
Properties
TargetUtilizationPercent | Target utilization percentage for the attribute. |
Properties
TargetUtilizationPercent
Target utilization percentage for the attribute.
double TargetUtilizationPercent { get; }
Property Value
System.Double