Class: Aws::DevOpsAgent::Types::ScheduleCondition

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

Overview

Expression-based schedule condition. CreateTrigger callers using this condition supply expression and omit spec. Trigger responses always use this condition, include the persisted or derived expression, and also include spec when the trigger was created from a structured schedule.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#expression ⇒ String

EventBridge cron or rate expression. Required for existing request and response compatibility. For a structured schedule response, this is the expression derived by Backlog.

Returns:

  • (String)


5537
5538
5539
5540
5541
5542
# File 'gems/aws-sdk-devopsagent/lib/aws-sdk-devopsagent/types.rb', line 5537

class ScheduleCondition < Struct.new(
  :expression,
  :spec)
  SENSITIVE = []
  include Aws::Structure
end

#spec ⇒ Types::ScheduleSpec

Structured schedule source of truth (cron | timeRange). On CreateTrigger supply exactly one of spec or expression. Present in responses together with the derived expression for structured triggers.

Returns:



5537
5538
5539
5540
5541
5542
# File 'gems/aws-sdk-devopsagent/lib/aws-sdk-devopsagent/types.rb', line 5537

class ScheduleCondition < Struct.new(
  :expression,
  :spec)
  SENSITIVE = []
  include Aws::Structure
end