You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

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

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

Overview

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

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 * * ? *).

Returns:

  • (String)


4664
4665
4666
4667
4668
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 4664

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

#stateString

The state of the schedule.

Returns:

  • (String)


4664
4665
4666
4667
4668
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 4664

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