Interface IScalableTableAttribute
Interface for scalable attributes.
Namespace: Amazon.CDK.AWS.DynamoDB
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IScalableTableAttribute : IScalableTargetRef, IConstruct, IDependable, IEnvironmentAware
Syntax (vb)
Public Interface IScalableTableAttribute Inherits IScalableTargetRef, IConstruct, IDependable, IEnvironmentAware
Synopsis
Methods
| ScaleOnSchedule(string, IScalingSchedule) | Add scheduled scaling for this scaling attribute. |
| ScaleOnUtilization(IUtilizationScalingProps) | Scale out or in to keep utilization at a given level. |
Methods
ScaleOnSchedule(string, IScalingSchedule)
Add scheduled scaling for this scaling attribute.
void ScaleOnSchedule(string id, IScalingSchedule actions)
Parameters
- id string
- actions IScalingSchedule
ScaleOnUtilization(IUtilizationScalingProps)
Scale out or in to keep utilization at a given level.
void ScaleOnUtilization(IUtilizationScalingProps props)
Parameters
- props IUtilizationScalingProps