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
show all
Defined in:
(unknown)

Overview

Note:

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

Instance Attribute Details

#enableBoolean

A modified enable flag of the scheduled action. If true, the scheduled action is active. If false, the scheduled action is disabled.

Returns:

  • (Boolean)

    A modified enable flag of the scheduled action.

#end_timeTime

A modified end time of the scheduled action. For more information about this parameter, see ScheduledAction.

Returns:

  • (Time)

    A modified end time of the scheduled action.

#iam_roleString

A different IAM role to assume to run the target action. For more information about this parameter, see ScheduledAction.

Returns:

  • (String)

    A different IAM role to assume to run the target action.

#scheduleString

A modified schedule in either at( ) or cron( ) format. For more information about this parameter, see ScheduledAction.

Returns:

  • (String)

    A modified schedule in either at( ) or cron( ) format.

#scheduled_action_descriptionString

A modified description of the scheduled action.

Returns:

  • (String)

    A modified description of the scheduled action.

#scheduled_action_nameString

The name of the scheduled action to modify.

Returns:

  • (String)

    The name of the scheduled action to modify.

#start_timeTime

A modified start time of the scheduled action. For more information about this parameter, see ScheduledAction.

Returns:

  • (Time)

    A modified start time of the scheduled action.

#target_actionTypes::ScheduledActionType

A modified JSON format of the scheduled action. For more information about this parameter, see ScheduledAction.

Returns: