CreateTriggerRequest

public struct CreateTriggerRequest : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • The actions initiated by this trigger when it fires.

    Declaration

    Swift

    public let actions: [Action]
  • A description of the new trigger.

    Declaration

    Swift

    public let description: String?
  • The name of the trigger.

    Declaration

    Swift

    public let name: String
  • A predicate to specify when the new trigger should fire. This field is required when the trigger type is CONDITIONAL.

    Declaration

    Swift

    public let predicate: Predicate?
  • A cron expression used to specify the schedule (see Time-Based Schedules for Jobs and Crawlers. For example, to run something every day at 12:15 UTC, you would specify: cron(15 12 * * ? *). This field is required when the trigger type is SCHEDULED.

    Declaration

    Swift

    public let schedule: String?
  • Set to true to start SCHEDULED and CONDITIONAL triggers when created. True is not supported for ON_DEMAND triggers.

    Declaration

    Swift

    public let startOnCreation: Bool?
  • The tags to use with this trigger. You may use tags to limit access to the trigger. For more information about tags in AWS Glue, see AWS Tags in AWS Glue in the developer guide.

    Declaration

    Swift

    public let tags: [String : String]?
  • The type of the new trigger.

    Declaration

    Swift

    public let type: TriggerType
  • The name of the workflow associated with the trigger.

    Declaration

    Swift

    public let workflowName: String?
  • Undocumented

    Declaration

    Swift

    public init(actions: [Action], description: String? = nil, name: String, predicate: Predicate? = nil, schedule: String? = nil, startOnCreation: Bool? = nil, tags: [String : String]? = nil, type: TriggerType, workflowName: String? = nil)
  • Declaration

    Swift

    public func validate(name: String) throws