Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Condition

import type { Condition } from "https://aws-api.deno.dev/v0.3/services/glue.ts?docs=full";

Defines a condition under which a trigger fires.

interface Condition {
CrawlerName?: string | null;
CrawlState?: CrawlState | null;
JobName?: string | null;
LogicalOperator?: LogicalOperator | null;
State?: JobRunState | null;
}

§Properties

§
CrawlerName?: string | null
[src]

The name of the crawler to which this condition applies.

§
CrawlState?: CrawlState | null
[src]

The state of the crawler to which this condition applies.

§
JobName?: string | null
[src]

The name of the job whose JobRuns this condition applies to, and on which this trigger waits.

§
LogicalOperator?: LogicalOperator | null
[src]

A logical operator.

§
State?: JobRunState | null
[src]

The condition state. Currently, the only job states that a trigger can listen for are SUCCEEDED, STOPPED, FAILED, and TIMEOUT. The only crawler states that a trigger can listen for are SUCCEEDED, FAILED, and CANCELLED.