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

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

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

Returned by:

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)

    A cron expression that can be used as a Cloudwatch event to schedule something (see [CloudWatch Schedule Expression Syntax][1]. For example, to run something every day at 12:15 UTC, you would specify: cron(15 12 * * ? *).

#stateString

The state of the schedule.

Possible values:

  • SCHEDULED
  • NOT_SCHEDULED
  • TRANSITIONING

Returns:

  • (String)

    The state of the schedule.