Class: Aws::DevOpsAgent::Types::TriggerCondition

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

Overview

Note:

TriggerCondition is a union - when making an API calls you must set exactly one of the members.

Note:

TriggerCondition is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of TriggerCondition corresponding to the set member.

Defines how a Trigger fires.

Defined Under Namespace

Classes: Schedule, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#schedule ⇒ Types::ScheduleCondition

Schedule-based firing condition. On CreateTrigger supply exactly one of the schedule condition's expression or spec.



6881
6882
6883
6884
6885
6886
6887
6888
6889
6890
# File 'gems/aws-sdk-devopsagent/lib/aws-sdk-devopsagent/types.rb', line 6881

class TriggerCondition < Struct.new(
  :schedule,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Schedule < TriggerCondition; end
  class Unknown < TriggerCondition; end
end

#unknown ⇒ Object

Returns the value of attribute unknown

Returns:

  • (Object) —

    the current value of unknown



6881
6882
6883
# File 'gems/aws-sdk-devopsagent/lib/aws-sdk-devopsagent/types.rb', line 6881

def unknown
  @unknown
end