Class CfnTable.TargetTrackingScalingPolicyConfigurationProperty
Amazon Keyspaces supports the target tracking
auto scaling policy for a provisioned table.
Inheritance
Namespace: Amazon.CDK.AWS.Cassandra
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class TargetTrackingScalingPolicyConfigurationProperty : Object, CfnTable.ITargetTrackingScalingPolicyConfigurationProperty
Syntax (vb)
Public Class TargetTrackingScalingPolicyConfigurationProperty
Inherits Object
Implements CfnTable.ITargetTrackingScalingPolicyConfigurationProperty
Remarks
This policy scales a table based on the ratio of consumed to provisioned capacity. The auto scaling target is a percentage of the provisioned capacity of the table.
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.Cassandra;
var targetTrackingScalingPolicyConfigurationProperty = new TargetTrackingScalingPolicyConfigurationProperty {
TargetValue = 123,
// the properties below are optional
DisableScaleIn = false,
ScaleInCooldown = 123,
ScaleOutCooldown = 123
};
Synopsis
Constructors
TargetTrackingScalingPolicyConfigurationProperty() |
Properties
DisableScaleIn | Specifies if |
ScaleInCooldown | Specifies a |
ScaleOutCooldown | Specifies a scale out cool down period. |
TargetValue | Specifies the target value for the target tracking auto scaling policy. |
Constructors
TargetTrackingScalingPolicyConfigurationProperty()
public TargetTrackingScalingPolicyConfigurationProperty()
Properties
DisableScaleIn
Specifies if scale-in
is enabled.
public object DisableScaleIn { get; set; }
Property Value
System.Object
Remarks
When auto scaling automatically decreases capacity for a table, the table scales in . When scaling policies are set, they can't scale in the table lower than its minimum capacity.
ScaleInCooldown
Specifies a scale-in
cool down period.
public Nullable<double> ScaleInCooldown { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
A cooldown period in seconds between scaling activities that lets the table stabilize before another scaling activity starts.
Default: - 0
ScaleOutCooldown
Specifies a scale out cool down period.
public Nullable<double> ScaleOutCooldown { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
A cooldown period in seconds between scaling activities that lets the table stabilize before another scaling activity starts.
Default: - 0
TargetValue
Specifies the target value for the target tracking auto scaling policy.
public double TargetValue { get; set; }
Property Value
System.Double
Remarks
Amazon Keyspaces auto scaling scales up capacity automatically when traffic exceeds this target utilization rate, and then back down when it falls below the target. This ensures that the ratio of consumed capacity to provisioned capacity stays at or near this value. You define targetValue
as a percentage. An integer
between 20 and 90.