Class ScheduleArgs
Inherited Members
Namespace: Pulumi.Aws.AutoScaling
Assembly: Pulumi.Aws.dll
Syntax
public sealed class ScheduleArgs : ResourceArgs
Constructors
View SourceScheduleArgs()
Declaration
public ScheduleArgs()
Properties
View SourceAutoscalingGroupName
The name or Amazon Resource Name (ARN) of the Auto Scaling group.
Declaration
public Input<string> AutoscalingGroupName { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
DesiredCapacity
The number of EC2 instances that should be running in the group. Default 0. Set to -1 if you don't want to change the desired capacity at the scheduled time.
Declaration
public Input<int> DesiredCapacity { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
EndTime
The time for this action to end, in "YYYY-MM-DDThh:mm:ssZ" format in UTC/GMT only (for example, 2014-06-01T00:00:00Z ). If you try to schedule your action in the past, Auto Scaling returns an error message.
Declaration
public Input<string> EndTime { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
MaxSize
The maximum size for the Auto Scaling group. Default 0. Set to -1 if you don't want to change the maximum size at the scheduled time.
Declaration
public Input<int> MaxSize { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
MinSize
The minimum size for the Auto Scaling group. Default 0. Set to -1 if you don't want to change the minimum size at the scheduled time.
Declaration
public Input<int> MinSize { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
Recurrence
The time when recurring future actions will start. Start time is specified by the user following the Unix cron syntax format.
Declaration
public Input<string> Recurrence { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
ScheduledActionName
The name of this scaling action.
Declaration
public Input<string> ScheduledActionName { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
StartTime
The time for this action to start, in "YYYY-MM-DDThh:mm:ssZ" format in UTC/GMT only (for example, 2014-06-01T00:00:00Z ). If you try to schedule your action in the past, Auto Scaling returns an error message.
Declaration
public Input<string> StartTime { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |