scheduled_action
Gets an individual scheduled_action
resource
Overview
Name | scheduled_action |
Type | Resource |
Description | scheduled_action |
Id | awscc.redshift.scheduled_action |
Fields
Name | Datatype | Description |
---|---|---|
scheduled_action_name | string | The name of the scheduled action. The name must be unique within an account. |
target_action | object | A JSON format string of the Amazon Redshift API operation with input parameters. |
schedule | string | The schedule in `at( )` or `cron( )` format. |
iam_role | string | The IAM role to assume to run the target action. |
scheduled_action_description | string | The description of the scheduled action. |
start_time | string | The start time in UTC of the scheduled action. Before this time, the scheduled action does not trigger. |
end_time | string | The end time in UTC of the scheduled action. After this time, the scheduled action does not trigger. |
enable | boolean | If true, the schedule is enabled. If false, the scheduled action does not trigger. |
state | string | The state of the scheduled action. |
next_invocations | array | List of times when the scheduled action will run. |
region | string | AWS region. |
Methods
Currently only SELECT
is supported for this resource resource.
Example
SELECT
region,
scheduled_action_name,
target_action,
schedule,
iam_role,
scheduled_action_description,
start_time,
end_time,
enable,
state,
next_invocations
FROM awscc.redshift.scheduled_action
WHERE data__Identifier = '<ScheduledActionName>';
Permissions
To operate on the scheduled_action
resource, the following permissions are required:
Read
redshift:DescribeScheduledActions,
redshift:DescribeTags
Update
redshift:DescribeScheduledActions,
redshift:ModifyScheduledAction,
redshift:PauseCluster,
redshift:ResumeCluster,
redshift:ResizeCluster,
redshift:DescribeTags,
iam:PassRole
Delete
redshift:DescribeTags,
redshift:DescribeScheduledActions,
redshift:DeleteScheduledAction