@awboost/cfn-resource-types 0.1.119 → 0.1.120

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5,151 +5,75 @@ import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-
5
5
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-trigger.html}
6
6
  */
7
7
  export type GlueTriggerProperties = {
8
- /**
9
- * The actions initiated by this trigger.
10
- */
11
8
  Actions: Action[];
12
- /**
13
- * A description of this trigger.
14
- */
15
9
  Description?: string;
16
- /**
17
- * Batch condition that must be met (specified number of events received or batch time window expired) before EventBridge event trigger fires.
18
- */
19
10
  EventBatchingCondition?: EventBatchingCondition;
20
- /**
21
- * The name of the trigger.
22
- */
23
11
  Name?: string;
24
- /**
25
- * The predicate of this trigger, which defines when it will fire.
26
- */
27
12
  Predicate?: Predicate;
28
- /**
29
- * A cron expression used to specify the schedule.
30
- */
31
13
  Schedule?: string;
32
- /**
33
- * Set to true to start SCHEDULED and CONDITIONAL triggers when created. True is not supported for ON_DEMAND triggers.
34
- */
35
14
  StartOnCreation?: boolean;
36
- /**
37
- * The tags to use with this trigger.
38
- */
39
15
  Tags?: Record<string, any>;
40
- /**
41
- * The type of trigger that this is.
42
- */
43
16
  Type: string;
44
- /**
45
- * The name of the workflow associated with the trigger.
46
- */
47
17
  WorkflowName?: string;
48
18
  };
19
+ /**
20
+ * Attribute type definition for `AWS::Glue::Trigger`.
21
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-trigger.html#aws-resource-glue-trigger-return-values}
22
+ */
23
+ export type GlueTriggerAttributes = {
24
+ Id: string;
25
+ };
49
26
  /**
50
27
  * Type definition for `AWS::Glue::Trigger.Action`.
51
- * The actions initiated by this trigger.
52
28
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-trigger-action.html}
53
29
  */
54
30
  export type Action = {
55
- /**
56
- * The job arguments used when this trigger fires. For this job run, they replace the default arguments set in the job definition itself.
57
- */
58
31
  Arguments?: Record<string, any>;
59
- /**
60
- * The name of the crawler to be used with this action.
61
- */
62
32
  CrawlerName?: string;
63
- /**
64
- * The name of a job to be executed.
65
- */
66
33
  JobName?: string;
67
- /**
68
- * Specifies configuration properties of a job run notification.
69
- */
70
34
  NotificationProperty?: NotificationProperty;
71
- /**
72
- * The name of the SecurityConfiguration structure to be used with this action.
73
- */
74
35
  SecurityConfiguration?: string;
75
- /**
76
- * The JobRun timeout in minutes. This is the maximum time that a job run can consume resources before it is terminated and enters TIMEOUT status. The default is 2,880 minutes (48 hours). This overrides the timeout value set in the parent job.
77
- */
78
36
  Timeout?: number;
79
37
  };
80
38
  /**
81
39
  * Type definition for `AWS::Glue::Trigger.Condition`.
82
- * Defines a condition under which a trigger fires.
83
40
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-trigger-condition.html}
84
41
  */
85
42
  export type Condition = {
86
- /**
87
- * The state of the crawler to which this condition applies.
88
- */
89
43
  CrawlState?: string;
90
- /**
91
- * The name of the crawler to which this condition applies.
92
- */
93
44
  CrawlerName?: string;
94
- /**
95
- * The name of the job whose JobRuns this condition applies to, and on which this trigger waits.
96
- */
97
45
  JobName?: string;
98
- /**
99
- * A logical operator.
100
- */
101
46
  LogicalOperator?: string;
102
- /**
103
- * The condition state. Currently, the values supported are SUCCEEDED, STOPPED, TIMEOUT, and FAILED.
104
- */
105
47
  State?: string;
106
48
  };
107
49
  /**
108
50
  * Type definition for `AWS::Glue::Trigger.EventBatchingCondition`.
109
- * Batch condition that must be met (specified number of events received or batch time window expired) before EventBridge event trigger fires.
110
51
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-trigger-eventbatchingcondition.html}
111
52
  */
112
53
  export type EventBatchingCondition = {
113
- /**
114
- * Number of events that must be received from Amazon EventBridge before EventBridge event trigger fires.
115
- */
116
54
  BatchSize: number;
117
- /**
118
- * Window of time in seconds after which EventBridge event trigger fires. Window starts when first event is received.
119
- */
120
55
  BatchWindow?: number;
121
56
  };
122
57
  /**
123
58
  * Type definition for `AWS::Glue::Trigger.NotificationProperty`.
124
- * Specifies configuration properties of a job run notification.
125
59
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-trigger-notificationproperty.html}
126
60
  */
127
61
  export type NotificationProperty = {
128
- /**
129
- * After a job run starts, the number of minutes to wait before sending a job run delay notification
130
- */
131
62
  NotifyDelayAfter?: number;
132
63
  };
133
64
  /**
134
65
  * Type definition for `AWS::Glue::Trigger.Predicate`.
135
- * The predicate of this trigger, which defines when it will fire.
136
66
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-trigger-predicate.html}
137
67
  */
138
68
  export type Predicate = {
139
- /**
140
- * A list of the conditions that determine when the trigger will fire.
141
- */
142
69
  Conditions?: Condition[];
143
- /**
144
- * An optional field if only one condition is listed. If multiple conditions are listed, then this field is required.
145
- */
146
70
  Logical?: string;
147
71
  };
148
72
  /**
149
73
  * Resource Type definition for AWS::Glue::Trigger
150
74
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-trigger.html}
151
75
  */
152
- export declare class GlueTrigger extends $Resource<"AWS::Glue::Trigger", GlueTriggerProperties, Record<string, never>> {
76
+ export declare class GlueTrigger extends $Resource<"AWS::Glue::Trigger", GlueTriggerProperties, GlueTriggerAttributes> {
153
77
  static readonly Type = "AWS::Glue::Trigger";
154
78
  constructor(logicalId: string, properties: GlueTriggerProperties, options?: $ResourceOptions);
155
79
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awboost/cfn-resource-types",
3
- "version": "0.1.119",
3
+ "version": "0.1.120",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },