The AWS::Redshift::ScheduledAction
resource creates an Amazon Redshift Scheduled Action.
scheduled_action_name
(String) The name of the scheduled action. The name must be unique within an account.enable
(Boolean) If true, the schedule is enabled. If false, 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.iam_role
(String) The IAM role to assume to run the target action.schedule
(String) The schedule in at( )
or cron( )
format.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.target_action
(Attributes) A JSON format string of the Amazon Redshift API operation with input parameters. (see below for nested schema)id
(String) Uniquely identifies the resource.next_invocations
(List of String) List of times when the scheduled action will run.state
(String) The state of the scheduled action.target_action
Optional:
pause_cluster
(Attributes) Describes a pause cluster operation. For example, a scheduled action to run the PauseCluster
API operation. (see below for nested schema)resize_cluster
(Attributes) Describes a resize cluster operation. For example, a scheduled action to run the ResizeCluster
API operation. (see below for nested schema)resume_cluster
(Attributes) Describes a resume cluster operation. For example, a scheduled action to run the ResumeCluster
API operation. (see below for nested schema)target_action.pause_cluster
Required:
cluster_identifier
(String)target_action.resize_cluster
Required:
cluster_identifier
(String)Optional:
classic
(Boolean)cluster_type
(String)node_type
(String)number_of_nodes
(Number)target_action.resume_cluster
Required:
cluster_identifier
(String)Import is supported using the following syntax:
$ terraform import awscc_redshift_scheduled_action.example <resource ID>