Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

WeeklyAutoScalingSchedule

import type { WeeklyAutoScalingSchedule } from "https://aws-api.deno.dev/v0.3/services/opsworks.ts?docs=full";

Describes a time-based instance's auto scaling schedule. The schedule consists of a set of key-value pairs.

  • The key is the time period (a UTC hour) and must be an integer from 0 - 23.
  • The value indicates whether the instance should be online or offline for the specified period, and must be set to "on" or "off"

The default setting for all time periods is off, so you use the following parameters primarily to specify the online periods. You don't have to explicitly specify offline periods unless you want to change an online period to an offline period.

The following example specifies that the instance should be online for four hours, from UTC 1200 - 1600. It will be off for the remainder of the day.

{ "12":"on", "13":"on", "14":"on", "15":"on" }
interface WeeklyAutoScalingSchedule {
Friday?: {
[key: string]: string | null | undefined;
}
| null;
Monday?: {
[key: string]: string | null | undefined;
}
| null;
Saturday?: {
[key: string]: string | null | undefined;
}
| null;
Sunday?: {
[key: string]: string | null | undefined;
}
| null;
Thursday?: {
[key: string]: string | null | undefined;
}
| null;
Tuesday?: {
[key: string]: string | null | undefined;
}
| null;
Wednesday?: {
[key: string]: string | null | undefined;
}
| null;
}

§Properties

§
Friday?: {
[key: string]: string | null | undefined;
}
| null
[src]

The schedule for Friday.

§
Monday?: {
[key: string]: string | null | undefined;
}
| null
[src]

The schedule for Monday.

§
Saturday?: {
[key: string]: string | null | undefined;
}
| null
[src]

The schedule for Saturday.

§
Sunday?: {
[key: string]: string | null | undefined;
}
| null
[src]

The schedule for Sunday.

§
Thursday?: {
[key: string]: string | null | undefined;
}
| null
[src]

The schedule for Thursday.

§
Tuesday?: {
[key: string]: string | null | undefined;
}
| null
[src]

The schedule for Tuesday.

§
Wednesday?: {
[key: string]: string | null | undefined;
}
| null
[src]

The schedule for Wednesday.