UNPKG

@nolanrigo/cloudformation

Version:

TypeScript-based imperative way to define AWS CloudFormation templates

47 lines (46 loc) 1.49 kB
import { ResourceBase } from "../../resource"; import { Value, List, MapOf } from "../../data-types"; export declare class NotificationProperty { NotifyDelayAfter?: Value<number>; constructor(properties: NotificationProperty); } export declare class Predicate { Logical?: Value<string>; Conditions?: List<Condition>; constructor(properties: Predicate); } export declare class Condition { CrawlerName?: Value<string>; State?: Value<string>; CrawlState?: Value<string>; LogicalOperator?: Value<string>; JobName?: Value<string>; constructor(properties: Condition); } export declare class Action { NotificationProperty?: NotificationProperty; CrawlerName?: Value<string>; Timeout?: Value<number>; JobName?: Value<string>; Arguments?: MapOf<any>; SecurityConfiguration?: Value<string>; constructor(properties: Action); } export interface TriggerProperties { StartOnCreation?: Value<boolean>; WorkflowName?: Value<string>; Name?: Value<string>; Predicate?: Predicate; Schedule?: Value<string>; Tags?: MapOf<any>; Type: Value<string>; Description?: Value<string>; Actions: List<Action>; } export default class Inner_Trigger extends ResourceBase<TriggerProperties> { static NotificationProperty: typeof NotificationProperty; static Predicate: typeof Predicate; static Condition: typeof Condition; static Action: typeof Action; constructor(properties: TriggerProperties); }