Interface IBasicScheduledActionProps
Properties for a scheduled scaling action.
Namespace: Amazon.CDK.AWS.AutoScaling
Assembly: Amazon.CDK.AWS.AutoScaling.dll
Syntax (csharp)
public interface IBasicScheduledActionProps
Syntax (vb)
Public Interface IBasicScheduledActionProps
Synopsis
Properties
DesiredCapacity | The new desired capacity. |
EndTime | When this scheduled action expires. |
MaxCapacity | The new maximum capacity. |
MinCapacity | The new minimum capacity. |
Schedule | When to perform this action. |
StartTime | When this scheduled action becomes active. |
Properties
DesiredCapacity
The new desired capacity.
virtual Nullable<double> DesiredCapacity { get; }
Property Value
System.Nullable<System.Double>
Remarks
At the scheduled time, set the desired capacity to the given capacity.
At least one of maxCapacity, minCapacity, or desiredCapacity must be supplied.
Default: - No new desired capacity.
EndTime
When this scheduled action expires.
virtual Nullable<DateTime> EndTime { get; }
Property Value
System.Nullable<System.DateTime>
Remarks
Default: - The rule never expires.
MaxCapacity
The new maximum capacity.
virtual Nullable<double> MaxCapacity { get; }
Property Value
System.Nullable<System.Double>
Remarks
At the scheduled time, set the maximum capacity to the given capacity.
At least one of maxCapacity, minCapacity, or desiredCapacity must be supplied.
Default: - No new maximum capacity.
MinCapacity
The new minimum capacity.
virtual Nullable<double> MinCapacity { get; }
Property Value
System.Nullable<System.Double>
Remarks
At the scheduled time, set the minimum capacity to the given capacity.
At least one of maxCapacity, minCapacity, or desiredCapacity must be supplied.
Default: - No new minimum capacity.
Schedule
When to perform this action.
Schedule Schedule { get; }
Property Value
Remarks
Supports cron expressions.
For more information about cron expressions, see https://en.wikipedia.org/wiki/Cron.
Examples
// Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826
0;8 * * ?;
StartTime
When this scheduled action becomes active.
virtual Nullable<DateTime> StartTime { get; }
Property Value
System.Nullable<System.DateTime>
Remarks
Default: - The rule is activate immediately.