import * as core from "@terrascript/core"; export interface EventBatchingConditionArgs extends core.SchemaArgs { batchSize: number | core.NumberOut; batchWindow?: number | core.NumberOut; } export declare class EventBatchingCondition extends core.Schema { batchSize: number | core.NumberOut; batchWindow?: number | core.NumberOut; } export interface ConditionsArgs extends core.SchemaArgs { crawlState?: string | core.StringOut; crawlerName?: string | core.StringOut; jobName?: string | core.StringOut; logicalOperator?: string | core.StringOut; state?: string | core.StringOut; } export declare class Conditions extends core.Schema { crawlState?: string | core.StringOut; crawlerName?: string | core.StringOut; jobName?: string | core.StringOut; logicalOperator?: string | core.StringOut; state?: string | core.StringOut; } export interface PredicateArgs extends core.SchemaArgs { conditions: core.Array | core.ArrayOut; logical?: string | core.StringOut; } export declare class Predicate extends core.Schema { conditions: core.Array | core.ArrayOut; logical?: string | core.StringOut; } export interface NotificationPropertyArgs extends core.SchemaArgs { notifyDelayAfter?: number | core.NumberOut; } export declare class NotificationProperty extends core.Schema { notifyDelayAfter?: number | core.NumberOut; } export interface ActionsArgs extends core.SchemaArgs { arguments?: core.Map | core.MapOut; crawlerName?: string | core.StringOut; jobName?: string | core.StringOut; notificationProperty?: NotificationProperty; securityConfiguration?: string | core.StringOut; timeout?: number | core.NumberOut; } export declare class Actions extends core.Schema { arguments?: core.Map | core.MapOut; crawlerName?: string | core.StringOut; jobName?: string | core.StringOut; notificationProperty?: NotificationProperty; securityConfiguration?: string | core.StringOut; timeout?: number | core.NumberOut; } export interface TriggerArgs extends core.ResourceArgs { actions: core.Array | core.ArrayOut; description?: string | core.StringOut; enabled?: boolean | core.BooleanOut; /** * (Optional) Batch condition that must be met (specified number of events received or batch time windo * w expired) before EventBridge event trigger fires. See [Event Batching Condition](#event-batching-co * ndition). */ eventBatchingCondition?: core.Array | core.ArrayOut; name: string | core.StringOut; predicate?: Predicate; schedule?: string | core.StringOut; startOnCreation?: boolean | core.BooleanOut; /** * (Optional) Key-value map of resource tags. If configured with a provider [`default_tags` configurati * on block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-configurati * on-block) present, tags with matching keys will overwrite those defined at the provider-level. */ tags?: core.Map | core.MapOut; /** * A map of tags assigned to the resource, including those inherited from the provider [`default_tags` * configuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags- * configuration-block). */ tagsAll?: core.Map | core.MapOut; type: string | core.StringOut; /** * (Optional) A workflow to which the trigger should be associated to. Every workflow graph (DAG) needs * a starting trigger (`ON_DEMAND` or `SCHEDULED` type) and can contain multiple additional `CONDITION * AL` triggers. */ workflowName?: string | core.StringOut; } export declare class Trigger extends core.Resource { actions: core.Array | core.ArrayOut; /** * Amazon Resource Name (ARN) of Glue Trigger */ arn: string | core.StringOut; description?: string | core.StringOut; enabled?: boolean | core.BooleanOut; /** * (Optional) Batch condition that must be met (specified number of events received or batch time windo * w expired) before EventBridge event trigger fires. See [Event Batching Condition](#event-batching-co * ndition). */ eventBatchingCondition?: core.Array | core.ArrayOut; /** * Trigger name */ id: string | core.StringOut; name: string | core.StringOut; predicate?: Predicate; schedule?: string | core.StringOut; startOnCreation?: boolean | core.BooleanOut; /** * (Optional) The condition job state. Currently, the values supported are `SUCCEEDED`, `STOPPED`, `TIM * EOUT` and `FAILED`. If this is specified, `job_name` must also be specified. Conflicts with `crawler * _state`. */ state: string | core.StringOut; /** * (Optional) Key-value map of resource tags. If configured with a provider [`default_tags` configurati * on block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-configurati * on-block) present, tags with matching keys will overwrite those defined at the provider-level. */ tags?: core.Map | core.MapOut; /** * A map of tags assigned to the resource, including those inherited from the provider [`default_tags` * configuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags- * configuration-block). */ tagsAll?: core.Map | core.MapOut; type: string | core.StringOut; /** * (Optional) A workflow to which the trigger should be associated to. Every workflow graph (DAG) needs * a starting trigger (`ON_DEMAND` or `SCHEDULED` type) and can contain multiple additional `CONDITION * AL` triggers. */ workflowName?: string | core.StringOut; constructor(name: string, args?: TriggerArgs); getNamespace(): string; } //# sourceMappingURL=trigger.d.ts.map