aws redshift create-scheduled-action
Creates a scheduled action. A scheduled action contains a schedule and an Amazon Redshift API action. For example, you can create a schedule of when to run the ResizeCluster API operation
Options
Name | Description |
---|---|
--scheduled-action-name <string> | The name of the scheduled action. The name must be unique within an account. For more information about this parameter, see ScheduledAction |
--target-action <structure> | A JSON format string of the Amazon Redshift API operation with input parameters. For more information about this parameter, see ScheduledAction |
--schedule <string> | The schedule in at( ) or cron( ) format. For more information about this parameter, see ScheduledAction |
--iam-role <string> | The IAM role to assume to run the target action. For more information about this parameter, see ScheduledAction |
--scheduled-action-description <string> | The description of the scheduled action |
--start-time <timestamp> | The start time in UTC of the scheduled action. Before this time, the scheduled action does not trigger. For more information about this parameter, see ScheduledAction |
--end-time <timestamp> | The end time in UTC of the scheduled action. After this time, the scheduled action does not trigger. For more information about this parameter, see ScheduledAction |
--enable | If true, the schedule is enabled. If false, the scheduled action does not trigger. For more information about state of the scheduled action, see ScheduledAction |
--no-enable | If true, the schedule is enabled. If false, the scheduled action does not trigger. For more information about state of the scheduled action, see ScheduledAction |
--cli-input-json <string> | Performs service operation based on the JSON string provided. The JSON string follows the format provided by ``--generate-cli-skeleton``. If other arguments are provided on the command line, the CLI values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally |
--generate-cli-skeleton <string> | Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value ``input``, prints a sample input JSON that can be used as an argument for ``--cli-input-json``. If provided with the value ``output``, it validates the command inputs and returns a sample output JSON for that command |