View source: R/applicationautoscaling_operations.R
applicationautoscaling_put_scheduled_action | R Documentation |
Creates or updates a scheduled action for an Application Auto Scaling scalable target.
See https://www.paws-r-sdk.com/docs/applicationautoscaling_put_scheduled_action/ for full documentation.
applicationautoscaling_put_scheduled_action(
ServiceNamespace,
Schedule = NULL,
Timezone = NULL,
ScheduledActionName,
ResourceId,
ScalableDimension,
StartTime = NULL,
EndTime = NULL,
ScalableTargetAction = NULL
)
ServiceNamespace |
[required] The namespace of the Amazon Web Services service that provides the
resource. For a resource provided by your own application or service,
use |
Schedule |
The schedule for this action. The following formats are supported:
At expressions are useful for one-time schedules. Cron expressions are useful for scheduled actions that run periodically at a specified date and time, and rate expressions are useful for scheduled actions that run at a regular interval. At and cron expressions use Universal Coordinated Time (UTC) by default. The cron format consists of six fields separated by white spaces: [Minutes] [Hours] [Day_of_Month] [Month] [Day_of_Week] [Year]. For rate expressions, value is a positive integer and unit is
For more information, see Schedule recurring scaling actions using cron expressions in the Application Auto Scaling User Guide. |
Timezone |
Specifies the time zone used when setting a scheduled action by using an at or cron expression. If a time zone is not provided, UTC is used by default. Valid values are the canonical names of the IANA time zones supported by
Joda-Time (such as |
ScheduledActionName |
[required] The name of the scheduled action. This name must be unique among all other scheduled actions on the specified scalable target. |
ResourceId |
[required] The identifier of the resource associated with the scheduled action. This string consists of the resource type and unique identifier.
|
ScalableDimension |
[required] The scalable dimension. This string consists of the service namespace, resource type, and scaling property.
|
StartTime |
The date and time for this scheduled action to start, in UTC. |
EndTime |
The date and time for the recurring schedule to end, in UTC. |
ScalableTargetAction |
The new minimum and maximum capacity. You can set both values or just one. At the scheduled time, if the current capacity is below the minimum capacity, Application Auto Scaling scales out to the minimum capacity. If the current capacity is above the maximum capacity, Application Auto Scaling scales in to the maximum capacity. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.