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 that can be used as a Cloudwatch event to schedule something (see CloudWatch Schedule Expression Syntax. For example, to run something every day at 12:15 UTC, you would specify: cron(15 12 * * ? *).

Returns:

  • (String)


4414
4415
4416
4417
4418
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 4414

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

#stateString

The state of the schedule.

Returns:

  • (String)


4414
4415
4416
4417
4418
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 4414

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