You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::Redshift::Types::ModifyScheduledActionMessage
- Inherits:
-
Struct
- Object
- Struct
- Aws::Redshift::Types::ModifyScheduledActionMessage
- Defined in:
- (unknown)
Overview
When passing ModifyScheduledActionMessage as input to an Aws::Client method, you can use a vanilla Hash:
{
scheduled_action_name: "String", # required
target_action: {
resize_cluster: {
cluster_identifier: "String", # required
cluster_type: "String",
node_type: "String",
number_of_nodes: 1,
classic: false,
},
pause_cluster: {
cluster_identifier: "String", # required
},
resume_cluster: {
cluster_identifier: "String", # required
},
},
schedule: "String",
iam_role: "String",
scheduled_action_description: "String",
start_time: Time.now,
end_time: Time.now,
enable: false,
}
Instance Attribute Summary collapse
-
#enable ⇒ Boolean
A modified enable flag of the scheduled action.
-
#end_time ⇒ Time
A modified end time of the scheduled action.
-
#iam_role ⇒ String
A different IAM role to assume to run the target action.
-
#schedule ⇒ String
A modified schedule in either
at( )
orcron( )
format. -
#scheduled_action_description ⇒ String
A modified description of the scheduled action.
-
#scheduled_action_name ⇒ String
The name of the scheduled action to modify.
-
#start_time ⇒ Time
A modified start time of the scheduled action.
-
#target_action ⇒ Types::ScheduledActionType
A modified JSON format of the scheduled action.
Instance Attribute Details
#enable ⇒ Boolean
A modified enable flag of the scheduled action. If true, the scheduled action is active. If false, the scheduled action is disabled.
#end_time ⇒ Time
A modified end time of the scheduled action. For more information about this parameter, see ScheduledAction.
#iam_role ⇒ String
A different IAM role to assume to run the target action. For more information about this parameter, see ScheduledAction.
#schedule ⇒ String
A modified schedule in either at( )
or cron( )
format. For more
information about this parameter, see ScheduledAction.
#scheduled_action_description ⇒ String
A modified description of the scheduled action.
#scheduled_action_name ⇒ String
The name of the scheduled action to modify.
#start_time ⇒ Time
A modified start time of the scheduled action. For more information about this parameter, see ScheduledAction.
#target_action ⇒ Types::ScheduledActionType
A modified JSON format of the scheduled action. For more information about this parameter, see ScheduledAction.