Class ScheduledAction
Define a scheduled scaling action.
Inherited Members
Namespace: Amazon.CDK.AWS.AutoScaling
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class ScheduledAction : Resource, IResource
Syntax (vb)
Public Class ScheduledAction
Inherits Resource
Implements IResource
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;
AutoScalingGroup autoScalingGroup;
Schedule schedule;
var scheduledAction = new ScheduledAction(this, "MyScheduledAction", new ScheduledActionProps {
AutoScalingGroup = autoScalingGroup,
Schedule = schedule,
// the properties below are optional
DesiredCapacity = 123,
EndTime = new Date(),
MaxCapacity = 123,
MinCapacity = 123,
StartTime = new Date(),
TimeZone = "timeZone"
});
Synopsis
Constructors
ScheduledAction(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
ScheduledAction(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
ScheduledAction(Construct, String, IScheduledActionProps) |
Properties
ScheduledActionName | The name of the scheduled action. |
Constructors
ScheduledAction(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected ScheduledAction(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
ScheduledAction(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected ScheduledAction(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
ScheduledAction(Construct, String, IScheduledActionProps)
public ScheduledAction(Construct scope, string id, IScheduledActionProps props)
Parameters
- scope Constructs.Construct
- id System.String
- props IScheduledActionProps
Properties
ScheduledActionName
The name of the scheduled action.
public virtual string ScheduledActionName { get; }
Property Value
System.String
Remarks
Attribute: true
Implements
Constructs.IConstruct
Constructs.IDependable