ScheduledActionArgs

data class ScheduledActionArgs(val autoScalingGroupName: Output<String>? = null, val desiredCapacity: Output<Int>? = null, val endTime: Output<String>? = null, val maxSize: Output<Int>? = null, val minSize: Output<Int>? = null, val recurrence: Output<String>? = null, val startTime: Output<String>? = null, val timeZone: Output<String>? = null) : ConvertibleToJava<ScheduledActionArgs>

The AWS::AutoScaling::ScheduledAction resource specifies an Amazon EC2 Auto Scaling scheduled action so that the Auto Scaling group can change the number of instances available for your application in response to predictable load changes.

Constructors

Link copied to clipboard
constructor(autoScalingGroupName: Output<String>? = null, desiredCapacity: Output<Int>? = null, endTime: Output<String>? = null, maxSize: Output<Int>? = null, minSize: Output<Int>? = null, recurrence: Output<String>? = null, startTime: Output<String>? = null, timeZone: Output<String>? = null)

Properties

Link copied to clipboard
val autoScalingGroupName: Output<String>? = null

The name of the Auto Scaling group.

Link copied to clipboard
val desiredCapacity: Output<Int>? = null

The desired capacity is the initial capacity of the Auto Scaling group after the scheduled action runs and the capacity it attempts to maintain.

Link copied to clipboard
val endTime: Output<String>? = null

The latest scheduled start time to return. If scheduled action names are provided, this parameter is ignored.

Link copied to clipboard
val maxSize: Output<Int>? = null

The minimum size of the Auto Scaling group.

Link copied to clipboard
val minSize: Output<Int>? = null

The minimum size of the Auto Scaling group.

Link copied to clipboard
val recurrence: Output<String>? = null

The recurring schedule for the action, in Unix cron syntax format. When StartTime and EndTime are specified with Recurrence , they form the boundaries of when the recurring action starts and stops.

Link copied to clipboard
val startTime: Output<String>? = null

The earliest scheduled start time to return. If scheduled action names are provided, this parameter is ignored.

Link copied to clipboard
val timeZone: Output<String>? = null

The time zone for the cron expression.

Functions

Link copied to clipboard
open override fun toJava(): ScheduledActionArgs