ScheduleState constructor
Creates a new ScheduleState.
arn ARN assigned by AWS to the autoscaling schedule.
autoscalingGroupName The name of the Auto Scaling group.
desiredCapacity The initial capacity of the Auto Scaling group after the scheduled action runs and the capacity it attempts to maintain. Set to -1 if you don't want to change the desired capacity at the scheduled time. Defaults to 0.
endTime The date and time for the recurring schedule to end, in UTC with the format "YYYY-MM-DDThh:mm:ssZ" (e.g. "2021-06-01T00:00:00Z").
maxSize The maximum size of the Auto Scaling group. Set to -1 if you don't want to change the maximum size at the scheduled time. Defaults to 0.
minSize The minimum size of the Auto Scaling group. Set to -1 if you don't want to change the minimum size at the scheduled time. Defaults to 0.
recurrence The recurring schedule for this action specified using the Unix cron syntax format.
region Region where this resource will be managed. Defaults to the Region set in the provider configuration.
scheduledActionName The name of this scaling action.
startTime The date and time for the recurring schedule to start, in UTC with the format "YYYY-MM-DDThh:mm:ssZ" (e.g. "2021-06-01T00:00:00Z").
timeZone Specifies the time zone for a cron expression. Valid values are the canonical names of the IANA time zones (such as Etc/GMT+9 or Pacific/Tahiti).
Implementation
const ScheduleState({
this.arn,
this.autoscalingGroupName,
this.desiredCapacity,
this.endTime,
this.maxSize,
this.minSize,
this.recurrence,
this.region,
this.scheduledActionName,
this.startTime,
this.timeZone,
});