class Aws::Redshift::Types::CreateScheduledActionMessage

@note When making an API call, you may pass CreateScheduledActionMessage

data as a hash:

    {
      scheduled_action_name: "String", # required
      target_action: { # required
        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", # required
      iam_role: "String", # required
      scheduled_action_description: "String",
      start_time: Time.now,
      end_time: Time.now,
      enable: false,
    }

@!attribute [rw] scheduled_action_name

The name of the scheduled action. The name must be unique within an
account. For more information about this parameter, see
ScheduledAction.
@return [String]

@!attribute [rw] target_action

A JSON format string of the Amazon Redshift API operation with input
parameters. For more information about this parameter, see
ScheduledAction.
@return [Types::ScheduledActionType]

@!attribute [rw] schedule

The schedule in `at( )` or `cron( )` format. For more information
about this parameter, see ScheduledAction.
@return [String]

@!attribute [rw] iam_role

The IAM role to assume to run the target action. For more
information about this parameter, see ScheduledAction.
@return [String]

@!attribute [rw] scheduled_action_description

The description of the scheduled action.
@return [String]

@!attribute [rw] start_time

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.
@return [Time]

@!attribute [rw] end_time

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.
@return [Time]

@!attribute [rw] 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.
@return [Boolean]

@see docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateScheduledActionMessage AWS API Documentation

Constants

SENSITIVE