aws logo
AWS Classic v5.41.0, May 15 23

aws.autoscaling.Schedule

Explore with Pulumi AI

Provides an AutoScaling Schedule resource.

Example Usage

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;

return await Deployment.RunAsync(() => 
{
    var foobarGroup = new Aws.AutoScaling.Group("foobarGroup", new()
    {
        AvailabilityZones = new[]
        {
            "us-west-2a",
        },
        MaxSize = 1,
        MinSize = 1,
        HealthCheckGracePeriod = 300,
        HealthCheckType = "ELB",
        ForceDelete = true,
        TerminationPolicies = new[]
        {
            "OldestInstance",
        },
    });

    var foobarSchedule = new Aws.AutoScaling.Schedule("foobarSchedule", new()
    {
        ScheduledActionName = "foobar",
        MinSize = 0,
        MaxSize = 1,
        DesiredCapacity = 0,
        StartTime = "2016-12-11T18:00:00Z",
        EndTime = "2016-12-12T06:00:00Z",
        AutoscalingGroupName = foobarGroup.Name,
    });

});
package main

import (
	"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/autoscaling"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		foobarGroup, err := autoscaling.NewGroup(ctx, "foobarGroup", &autoscaling.GroupArgs{
			AvailabilityZones: pulumi.StringArray{
				pulumi.String("us-west-2a"),
			},
			MaxSize:                pulumi.Int(1),
			MinSize:                pulumi.Int(1),
			HealthCheckGracePeriod: pulumi.Int(300),
			HealthCheckType:        pulumi.String("ELB"),
			ForceDelete:            pulumi.Bool(true),
			TerminationPolicies: pulumi.StringArray{
				pulumi.String("OldestInstance"),
			},
		})
		if err != nil {
			return err
		}
		_, err = autoscaling.NewSchedule(ctx, "foobarSchedule", &autoscaling.ScheduleArgs{
			ScheduledActionName:  pulumi.String("foobar"),
			MinSize:              pulumi.Int(0),
			MaxSize:              pulumi.Int(1),
			DesiredCapacity:      pulumi.Int(0),
			StartTime:            pulumi.String("2016-12-11T18:00:00Z"),
			EndTime:              pulumi.String("2016-12-12T06:00:00Z"),
			AutoscalingGroupName: foobarGroup.Name,
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.autoscaling.Group;
import com.pulumi.aws.autoscaling.GroupArgs;
import com.pulumi.aws.autoscaling.Schedule;
import com.pulumi.aws.autoscaling.ScheduleArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var foobarGroup = new Group("foobarGroup", GroupArgs.builder()        
            .availabilityZones("us-west-2a")
            .maxSize(1)
            .minSize(1)
            .healthCheckGracePeriod(300)
            .healthCheckType("ELB")
            .forceDelete(true)
            .terminationPolicies("OldestInstance")
            .build());

        var foobarSchedule = new Schedule("foobarSchedule", ScheduleArgs.builder()        
            .scheduledActionName("foobar")
            .minSize(0)
            .maxSize(1)
            .desiredCapacity(0)
            .startTime("2016-12-11T18:00:00Z")
            .endTime("2016-12-12T06:00:00Z")
            .autoscalingGroupName(foobarGroup.name())
            .build());

    }
}
import pulumi
import pulumi_aws as aws

foobar_group = aws.autoscaling.Group("foobarGroup",
    availability_zones=["us-west-2a"],
    max_size=1,
    min_size=1,
    health_check_grace_period=300,
    health_check_type="ELB",
    force_delete=True,
    termination_policies=["OldestInstance"])
foobar_schedule = aws.autoscaling.Schedule("foobarSchedule",
    scheduled_action_name="foobar",
    min_size=0,
    max_size=1,
    desired_capacity=0,
    start_time="2016-12-11T18:00:00Z",
    end_time="2016-12-12T06:00:00Z",
    autoscaling_group_name=foobar_group.name)
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const foobarGroup = new aws.autoscaling.Group("foobarGroup", {
    availabilityZones: ["us-west-2a"],
    maxSize: 1,
    minSize: 1,
    healthCheckGracePeriod: 300,
    healthCheckType: "ELB",
    forceDelete: true,
    terminationPolicies: ["OldestInstance"],
});
const foobarSchedule = new aws.autoscaling.Schedule("foobarSchedule", {
    scheduledActionName: "foobar",
    minSize: 0,
    maxSize: 1,
    desiredCapacity: 0,
    startTime: "2016-12-11T18:00:00Z",
    endTime: "2016-12-12T06:00:00Z",
    autoscalingGroupName: foobarGroup.name,
});
resources:
  foobarGroup:
    type: aws:autoscaling:Group
    properties:
      availabilityZones:
        - us-west-2a
      maxSize: 1
      minSize: 1
      healthCheckGracePeriod: 300
      healthCheckType: ELB
      forceDelete: true
      terminationPolicies:
        - OldestInstance
  foobarSchedule:
    type: aws:autoscaling:Schedule
    properties:
      scheduledActionName: foobar
      minSize: 0
      maxSize: 1
      desiredCapacity: 0
      startTime: 2016-12-11T18:00:00Z
      endTime: 2016-12-12T06:00:00Z
      autoscalingGroupName: ${foobarGroup.name}

Create Schedule Resource

new Schedule(name: string, args: ScheduleArgs, opts?: CustomResourceOptions);
@overload
def Schedule(resource_name: str,
             opts: Optional[ResourceOptions] = None,
             autoscaling_group_name: Optional[str] = None,
             desired_capacity: Optional[int] = None,
             end_time: Optional[str] = None,
             max_size: Optional[int] = None,
             min_size: Optional[int] = None,
             recurrence: Optional[str] = None,
             scheduled_action_name: Optional[str] = None,
             start_time: Optional[str] = None,
             time_zone: Optional[str] = None)
@overload
def Schedule(resource_name: str,
             args: ScheduleArgs,
             opts: Optional[ResourceOptions] = None)
func NewSchedule(ctx *Context, name string, args ScheduleArgs, opts ...ResourceOption) (*Schedule, error)
public Schedule(string name, ScheduleArgs args, CustomResourceOptions? opts = null)
public Schedule(String name, ScheduleArgs args)
public Schedule(String name, ScheduleArgs args, CustomResourceOptions options)
type: aws:autoscaling:Schedule
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args ScheduleArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args ScheduleArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args ScheduleArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args ScheduleArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args ScheduleArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Schedule Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The Schedule resource accepts the following input properties:

AutoscalingGroupName string

The name of the Auto Scaling group.

ScheduledActionName string

The name of this scaling action.

DesiredCapacity int

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 string

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 int

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 int

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 string

The recurring schedule for this action specified using the Unix cron syntax format.

StartTime string

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 string

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).

AutoscalingGroupName string

The name of the Auto Scaling group.

ScheduledActionName string

The name of this scaling action.

DesiredCapacity int

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 string

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 int

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 int

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 string

The recurring schedule for this action specified using the Unix cron syntax format.

StartTime string

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 string

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).

autoscalingGroupName String

The name of the Auto Scaling group.

scheduledActionName String

The name of this scaling action.

desiredCapacity Integer

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 String

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 Integer

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 Integer

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 String

The recurring schedule for this action specified using the Unix cron syntax format.

startTime String

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 String

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).

autoscalingGroupName string

The name of the Auto Scaling group.

scheduledActionName string

The name of this scaling action.

desiredCapacity number

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 string

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 number

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 number

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 string

The recurring schedule for this action specified using the Unix cron syntax format.

startTime string

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 string

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).

autoscaling_group_name str

The name of the Auto Scaling group.

scheduled_action_name str

The name of this scaling action.

desired_capacity int

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.

end_time str

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").

max_size int

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.

min_size int

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 str

The recurring schedule for this action specified using the Unix cron syntax format.

start_time str

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").

time_zone str

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).

autoscalingGroupName String

The name of the Auto Scaling group.

scheduledActionName String

The name of this scaling action.

desiredCapacity Number

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 String

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 Number

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 Number

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 String

The recurring schedule for this action specified using the Unix cron syntax format.

startTime String

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 String

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).

Outputs

All input properties are implicitly available as output properties. Additionally, the Schedule resource produces the following output properties:

Arn string

ARN assigned by AWS to the autoscaling schedule.

Id string

The provider-assigned unique ID for this managed resource.

Arn string

ARN assigned by AWS to the autoscaling schedule.

Id string

The provider-assigned unique ID for this managed resource.

arn String

ARN assigned by AWS to the autoscaling schedule.

id String

The provider-assigned unique ID for this managed resource.

arn string

ARN assigned by AWS to the autoscaling schedule.

id string

The provider-assigned unique ID for this managed resource.

arn str

ARN assigned by AWS to the autoscaling schedule.

id str

The provider-assigned unique ID for this managed resource.

arn String

ARN assigned by AWS to the autoscaling schedule.

id String

The provider-assigned unique ID for this managed resource.

Look up Existing Schedule Resource

Get an existing Schedule resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: ScheduleState, opts?: CustomResourceOptions): Schedule
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        arn: Optional[str] = None,
        autoscaling_group_name: Optional[str] = None,
        desired_capacity: Optional[int] = None,
        end_time: Optional[str] = None,
        max_size: Optional[int] = None,
        min_size: Optional[int] = None,
        recurrence: Optional[str] = None,
        scheduled_action_name: Optional[str] = None,
        start_time: Optional[str] = None,
        time_zone: Optional[str] = None) -> Schedule
func GetSchedule(ctx *Context, name string, id IDInput, state *ScheduleState, opts ...ResourceOption) (*Schedule, error)
public static Schedule Get(string name, Input<string> id, ScheduleState? state, CustomResourceOptions? opts = null)
public static Schedule get(String name, Output<String> id, ScheduleState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
Arn string

ARN assigned by AWS to the autoscaling schedule.

AutoscalingGroupName string

The name of the Auto Scaling group.

DesiredCapacity int

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 string

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 int

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 int

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 string

The recurring schedule for this action specified using the Unix cron syntax format.

ScheduledActionName string

The name of this scaling action.

StartTime string

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 string

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).

Arn string

ARN assigned by AWS to the autoscaling schedule.

AutoscalingGroupName string

The name of the Auto Scaling group.

DesiredCapacity int

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 string

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 int

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 int

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 string

The recurring schedule for this action specified using the Unix cron syntax format.

ScheduledActionName string

The name of this scaling action.

StartTime string

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 string

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).

arn String

ARN assigned by AWS to the autoscaling schedule.

autoscalingGroupName String

The name of the Auto Scaling group.

desiredCapacity Integer

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 String

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 Integer

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 Integer

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 String

The recurring schedule for this action specified using the Unix cron syntax format.

scheduledActionName String

The name of this scaling action.

startTime String

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 String

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).

arn string

ARN assigned by AWS to the autoscaling schedule.

autoscalingGroupName string

The name of the Auto Scaling group.

desiredCapacity number

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 string

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 number

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 number

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 string

The recurring schedule for this action specified using the Unix cron syntax format.

scheduledActionName string

The name of this scaling action.

startTime string

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 string

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).

arn str

ARN assigned by AWS to the autoscaling schedule.

autoscaling_group_name str

The name of the Auto Scaling group.

desired_capacity int

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.

end_time str

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").

max_size int

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.

min_size int

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 str

The recurring schedule for this action specified using the Unix cron syntax format.

scheduled_action_name str

The name of this scaling action.

start_time str

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").

time_zone str

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).

arn String

ARN assigned by AWS to the autoscaling schedule.

autoscalingGroupName String

The name of the Auto Scaling group.

desiredCapacity Number

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 String

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 Number

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 Number

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 String

The recurring schedule for this action specified using the Unix cron syntax format.

scheduledActionName String

The name of this scaling action.

startTime String

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 String

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).

Import

AutoScaling ScheduledAction can be imported using the auto-scaling-group-name and scheduled-action-name, e.g.,

 $ pulumi import aws:autoscaling/schedule:Schedule resource-name auto-scaling-group-name/scheduled-action-name

Package Details

Repository
AWS Classic pulumi/pulumi-aws
License
Apache-2.0
Notes

This Pulumi package is based on the aws Terraform Provider.