Interface IScheduledActionProps
Properties for a scheduled action on an AutoScalingGroup.
Inherited Members
Namespace: Amazon.CDK.AWS.AutoScaling
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IScheduledActionProps : IBasicScheduledActionProps
Syntax (vb)
Public Interface IScheduledActionProps Inherits IBasicScheduledActionProps
Remarks
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.AutoScaling;
using Amazon.CDK.Interfaces.AutoScaling;
IAutoScalingGroupRef autoScalingGroupRef;
Schedule schedule;
var scheduledActionProps = new ScheduledActionProps {
AutoScalingGroup = autoScalingGroupRef,
Schedule = schedule,
// the properties below are optional
DesiredCapacity = 123,
EndTime = new Date(),
MaxCapacity = 123,
MinCapacity = 123,
StartTime = new Date(),
TimeZone = "timeZone"
};
Synopsis
Properties
| AutoScalingGroup | The AutoScalingGroup to apply the scheduled actions to. |
Properties
AutoScalingGroup
The AutoScalingGroup to apply the scheduled actions to.
IAutoScalingGroupRef AutoScalingGroup { get; }
Property Value
Remarks
ExampleMetadata: fixture=_generated