Container for the parameters to the PutScheduledUpdateGroupAction operation.
Creates or updates a scheduled scaling action for an Auto Scaling group. When updating a scheduled scaling action, if you leave a parameter unspecified, the corresponding value remains unchanged in the affected Auto Scaling group.
For information on creating or updating a scheduled action for your Auto Scaling group, see Scale Based on a Schedule .
NOTE: Auto Scaling supports the date and time expressed in "YYYY-MM-DDThh:mm:ssZ" format in UTC/GMT only.
Declaration Syntax
C# |
public class PutScheduledUpdateGroupActionRequest : AmazonWebServiceRequest
Members
All Members | Constructors | Methods | Properties | ||
Icon | Member | Description |
---|---|---|
PutScheduledUpdateGroupActionRequest()()()() | Initializes a new instance of the PutScheduledUpdateGroupActionRequest class | |
AutoScalingGroupName |
The name or ARN of the Auto Scaling group.
Constraints: | |
DesiredCapacity |
The number of Amazon EC2 instances that should be running in the group.
| |
EndTime |
The time for this action to end.
| |
Equals(Object) | (Inherited from Object.) | |
GetHashCode()()()() | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType()()()() | Gets the type of the current instance. (Inherited from Object.) | |
MaxSize |
The maximum size for the Auto Scaling group.
| |
MinSize |
The minimum size for the new Auto Scaling group.
| |
Recurrence |
The time when recurring future actions will start. Start time is specified by the user following the Unix cron syntax format. For
information about cron syntax, go to Wikipedia, The Free Encyclopedia. When StartTime
and EndTime are specified with Recurrence, they form the boundaries of when the recurring action will start and stop.
Constraints: | |
ScheduledActionName |
The name of this scaling action.
Constraints: | |
StartTime |
The time for this action to start, as in --start-time 2010-06-01T00:00:00Z. If you try to schedule your action in the past, Auto
Scaling returns an error message. When StartTime and EndTime are specified with Recurrence, they form the boundaries of
when the recurring action will start and stop.
| |
Time | Time is deprecated. The time for this action to start. Time is an alias for StartTime and can be specified instead of
StartTime, or vice versa. If both Time and StartTime are specified, their values should be identical. Otherwise,
PutScheduledUpdateGroupAction will return an error.
| |
ToString()()()() | Returns a string that represents the current object. (Inherited from Object.) | |
WithAutoScalingGroupName(String) | Obsolete.
Sets the AutoScalingGroupName property
| |
WithDesiredCapacity(Int32) | Obsolete.
Sets the DesiredCapacity property
| |
WithEndTime(DateTime) | Obsolete.
Sets the EndTime property
| |
WithMaxSize(Int32) | Obsolete.
Sets the MaxSize property
| |
WithMinSize(Int32) | Obsolete.
Sets the MinSize property
| |
WithRecurrence(String) | Obsolete.
Sets the Recurrence property
| |
WithScheduledActionName(String) | Obsolete.
Sets the ScheduledActionName property
| |
WithStartTime(DateTime) | Obsolete.
Sets the StartTime property
| |
WithTime(DateTime) | Obsolete.
Sets the Time property
|
Inheritance Hierarchy
Object | ||
AmazonWebServiceRequest | ||
PutScheduledUpdateGroupActionRequest |