Class: Aws::Glue::Types::Schedule

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-glue/types.rb

Overview

A scheduling object using a ‘cron` statement to schedule an event.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#schedule_expressionString

A ‘cron` expression used to specify the schedule (see [Time-Based Schedules for Jobs and Crawlers]. For example, to run something every day at 12:15 UTC, you would specify: `cron(15 12 * * ? *)`.

[1]: docs.aws.amazon.com/glue/latest/dg/monitor-data-warehouse-schedule.html

Returns:

  • (String)


20167
20168
20169
20170
20171
20172
# File 'lib/aws-sdk-glue/types.rb', line 20167

class Schedule < Struct.new(
  :schedule_expression,
  :state)
  SENSITIVE = []
  include Aws::Structure
end

#stateString

The state of the schedule.

Returns:

  • (String)


20167
20168
20169
20170
20171
20172
# File 'lib/aws-sdk-glue/types.rb', line 20167

class Schedule < Struct.new(
  :schedule_expression,
  :state)
  SENSITIVE = []
  include Aws::Structure
end