Interface ScheduledActionProps
- All Superinterfaces:
BasicScheduledActionProps,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ScheduledActionProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:45.410Z")
@Stability(Stable)
public interface ScheduledActionProps
extends software.amazon.jsii.JsiiSerializable, BasicScheduledActionProps
Properties for a scheduled action on an AutoScalingGroup.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.autoscaling.*;
AutoScalingGroup autoScalingGroup;
Schedule schedule;
ScheduledActionProps scheduledActionProps = ScheduledActionProps.builder()
.autoScalingGroup(autoScalingGroup)
.schedule(schedule)
// the properties below are optional
.desiredCapacity(123)
.endTime(new Date())
.maxCapacity(123)
.minCapacity(123)
.startTime(new Date())
.timeZone("timeZone")
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forScheduledActionPropsstatic final classAn implementation forScheduledActionProps -
Method Summary
Modifier and TypeMethodDescriptionstatic ScheduledActionProps.Builderbuilder()The AutoScalingGroup to apply the scheduled actions to.Methods inherited from interface software.amazon.awscdk.services.autoscaling.BasicScheduledActionProps
getDesiredCapacity, getEndTime, getMaxCapacity, getMinCapacity, getSchedule, getStartTime, getTimeZoneMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAutoScalingGroup
The AutoScalingGroup to apply the scheduled actions to. -
builder
- Returns:
- a
ScheduledActionProps.BuilderofScheduledActionProps
-