Table of Contents

Interface IScheduledActionProps

Namespace
Amazon.CDK.AWS.AutoScaling
Assembly
Amazon.CDK.AWS.AutoScaling.dll

Properties for a scheduled action on an AutoScalingGroup.

public interface IScheduledActionProps : IBasicScheduledActionProps
Inherited Members

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 scheduledActionProps = 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"
            };

Remarks

ExampleMetadata: fixture=_generated

Properties

AutoScalingGroup

The AutoScalingGroup to apply the scheduled actions to.

IAutoScalingGroup AutoScalingGroup { get; }

Property Value

IAutoScalingGroup