Show / Hide Table of Contents

Class CfnTable.TargetTrackingScalingPolicyConfigurationProperty

Amazon Keyspaces supports the target tracking auto scaling policy for a provisioned table.

Inheritance
object
CfnTable.TargetTrackingScalingPolicyConfigurationProperty
Implements
CfnTable.ITargetTrackingScalingPolicyConfigurationProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.Cassandra
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnTable.TargetTrackingScalingPolicyConfigurationProperty : CfnTable.ITargetTrackingScalingPolicyConfigurationProperty
Syntax (vb)
Public Class CfnTable.TargetTrackingScalingPolicyConfigurationProperty 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.

    See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cassandra-table-targettrackingscalingpolicyconfiguration.html

    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()

    Amazon Keyspaces supports the target tracking auto scaling policy for a provisioned table.

    Properties

    DisableScaleIn

    Specifies if scale-in is enabled.

    ScaleInCooldown

    Specifies a scale-in cool down period.

    ScaleOutCooldown

    Specifies a scale out cool down period.

    TargetValue

    Specifies the target value for the target tracking auto scaling policy.

    Constructors

    TargetTrackingScalingPolicyConfigurationProperty()

    Amazon Keyspaces supports the target tracking auto scaling policy for a provisioned table.

    public TargetTrackingScalingPolicyConfigurationProperty()
    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.

      See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cassandra-table-targettrackingscalingpolicyconfiguration.html

      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
                   };

      Properties

      DisableScaleIn

      Specifies if scale-in is enabled.

      public object? DisableScaleIn { get; set; }
      Property Value

      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.

      See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cassandra-table-targettrackingscalingpolicyconfiguration.html#cfn-cassandra-table-targettrackingscalingpolicyconfiguration-disablescalein

      ScaleInCooldown

      Specifies a scale-in cool down period.

      public double? ScaleInCooldown { get; set; }
      Property Value

      double?

      Remarks

      A cooldown period in seconds between scaling activities that lets the table stabilize before another scaling activity starts.

      Default: - 0

      See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cassandra-table-targettrackingscalingpolicyconfiguration.html#cfn-cassandra-table-targettrackingscalingpolicyconfiguration-scaleincooldown

      ScaleOutCooldown

      Specifies a scale out cool down period.

      public double? ScaleOutCooldown { get; set; }
      Property Value

      double?

      Remarks

      A cooldown period in seconds between scaling activities that lets the table stabilize before another scaling activity starts.

      Default: - 0

      See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cassandra-table-targettrackingscalingpolicyconfiguration.html#cfn-cassandra-table-targettrackingscalingpolicyconfiguration-scaleoutcooldown

      TargetValue

      Specifies the target value for the target tracking auto scaling policy.

      public double TargetValue { get; set; }
      Property Value

      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.

      See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cassandra-table-targettrackingscalingpolicyconfiguration.html#cfn-cassandra-table-targettrackingscalingpolicyconfiguration-targetvalue

      Implements

      CfnTable.ITargetTrackingScalingPolicyConfigurationProperty
      Back to top Generated by DocFX