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)


5608
5609
5610
5611
5612
5613
# File 'gems/aws-sdk-devopsagent/lib/aws-sdk-devopsagent/types.rb', line 5608

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:



5608
5609
5610
5611
5612
5613
# File 'gems/aws-sdk-devopsagent/lib/aws-sdk-devopsagent/types.rb', line 5608

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