terraform-cdk-serverless-github-actions-runner-controller 0.0.0

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.
package/API.md ADDED
@@ -0,0 +1,113 @@
1
+ # API Reference <a name="API Reference" id="api-reference"></a>
2
+
3
+ ## Constructs <a name="Constructs" id="Constructs"></a>
4
+
5
+ ### Azure <a name="Azure" id="terraform-cdk-serverless-github-actions-runner-controller.Azure"></a>
6
+
7
+ #### Initializers <a name="Initializers" id="terraform-cdk-serverless-github-actions-runner-controller.Azure.Initializer"></a>
8
+
9
+ ```typescript
10
+ import { Azure } from 'terraform-cdk-serverless-github-actions-runner-controller'
11
+
12
+ new Azure(scope: Construct, id: string)
13
+ ```
14
+
15
+ | **Name** | **Type** | **Description** |
16
+ | --- | --- | --- |
17
+ | <code><a href="#terraform-cdk-serverless-github-actions-runner-controller.Azure.Initializer.parameter.scope">scope</a></code> | <code>constructs.Construct</code> | *No description.* |
18
+ | <code><a href="#terraform-cdk-serverless-github-actions-runner-controller.Azure.Initializer.parameter.id">id</a></code> | <code>string</code> | *No description.* |
19
+
20
+ ---
21
+
22
+ ##### `scope`<sup>Required</sup> <a name="scope" id="terraform-cdk-serverless-github-actions-runner-controller.Azure.Initializer.parameter.scope"></a>
23
+
24
+ - *Type:* constructs.Construct
25
+
26
+ ---
27
+
28
+ ##### `id`<sup>Required</sup> <a name="id" id="terraform-cdk-serverless-github-actions-runner-controller.Azure.Initializer.parameter.id"></a>
29
+
30
+ - *Type:* string
31
+
32
+ ---
33
+
34
+ #### Methods <a name="Methods" id="Methods"></a>
35
+
36
+ | **Name** | **Description** |
37
+ | --- | --- |
38
+ | <code><a href="#terraform-cdk-serverless-github-actions-runner-controller.Azure.toString">toString</a></code> | Returns a string representation of this construct. |
39
+
40
+ ---
41
+
42
+ ##### `toString` <a name="toString" id="terraform-cdk-serverless-github-actions-runner-controller.Azure.toString"></a>
43
+
44
+ ```typescript
45
+ public toString(): string
46
+ ```
47
+
48
+ Returns a string representation of this construct.
49
+
50
+ #### Static Functions <a name="Static Functions" id="Static Functions"></a>
51
+
52
+ | **Name** | **Description** |
53
+ | --- | --- |
54
+ | <code><a href="#terraform-cdk-serverless-github-actions-runner-controller.Azure.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
55
+
56
+ ---
57
+
58
+ ##### `isConstruct` <a name="isConstruct" id="terraform-cdk-serverless-github-actions-runner-controller.Azure.isConstruct"></a>
59
+
60
+ ```typescript
61
+ import { Azure } from 'terraform-cdk-serverless-github-actions-runner-controller'
62
+
63
+ Azure.isConstruct(x: any)
64
+ ```
65
+
66
+ Checks if `x` is a construct.
67
+
68
+ Use this method instead of `instanceof` to properly detect `Construct`
69
+ instances, even when the construct library is symlinked.
70
+
71
+ Explanation: in JavaScript, multiple copies of the `constructs` library on
72
+ disk are seen as independent, completely different libraries. As a
73
+ consequence, the class `Construct` in each copy of the `constructs` library
74
+ is seen as a different class, and an instance of one class will not test as
75
+ `instanceof` the other class. `npm install` will not create installations
76
+ like this, but users may manually symlink construct libraries together or
77
+ use a monorepo tool: in those cases, multiple copies of the `constructs`
78
+ library can be accidentally installed, and `instanceof` will behave
79
+ unpredictably. It is safest to avoid using `instanceof`, and using
80
+ this type-testing method instead.
81
+
82
+ ###### `x`<sup>Required</sup> <a name="x" id="terraform-cdk-serverless-github-actions-runner-controller.Azure.isConstruct.parameter.x"></a>
83
+
84
+ - *Type:* any
85
+
86
+ Any object.
87
+
88
+ ---
89
+
90
+ #### Properties <a name="Properties" id="Properties"></a>
91
+
92
+ | **Name** | **Type** | **Description** |
93
+ | --- | --- | --- |
94
+ | <code><a href="#terraform-cdk-serverless-github-actions-runner-controller.Azure.property.node">node</a></code> | <code>constructs.Node</code> | The tree node. |
95
+
96
+ ---
97
+
98
+ ##### `node`<sup>Required</sup> <a name="node" id="terraform-cdk-serverless-github-actions-runner-controller.Azure.property.node"></a>
99
+
100
+ ```typescript
101
+ public readonly node: Node;
102
+ ```
103
+
104
+ - *Type:* constructs.Node
105
+
106
+ The tree node.
107
+
108
+ ---
109
+
110
+
111
+
112
+
113
+
package/LICENSE ADDED
@@ -0,0 +1,19 @@
1
+ Copyright (c) 2025 Hi-Fi
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining a copy
4
+ of this software and associated documentation files (the "Software"), to deal
5
+ in the Software without restriction, including without limitation the rights
6
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7
+ copies of the Software, and to permit persons to whom the Software is
8
+ furnished to do so, subject to the following conditions:
9
+
10
+ The above copyright notice and this permission notice shall be included in all
11
+ copies or substantial portions of the Software.
12
+
13
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
19
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,4 @@
1
+ # ARC on serverless container platforms
2
+
3
+ > [!WARNING]
4
+ > This is currently PoC level thing for module publishing. Not ready for production or any use
@@ -0,0 +1,344 @@
1
+ import { Construct } from 'constructs';
2
+ import * as cdktf from 'cdktf';
3
+ export interface DataAzapiResourceActionConfig extends cdktf.TerraformMetaArguments {
4
+ /**
5
+ * The name of the resource action. It's also possible to make HTTP requests towards the resource ID if leave this field empty.
6
+ *
7
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/azure/azapi/2.3.0/docs/data-sources/resource_action#action DataAzapiResourceAction#action}
8
+ */
9
+ readonly action?: string;
10
+ /**
11
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/azure/azapi/2.3.0/docs/data-sources/resource_action#body DataAzapiResourceAction#body}
12
+ */
13
+ readonly body?: {
14
+ [key: string]: any;
15
+ };
16
+ /**
17
+ * A map of headers to include in the request
18
+ *
19
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/azure/azapi/2.3.0/docs/data-sources/resource_action#headers DataAzapiResourceAction#headers}
20
+ */
21
+ readonly headers?: {
22
+ [key: string]: string;
23
+ };
24
+ /**
25
+ * The HTTP method to use when performing the action. Must be one of `POST`, `GET`. Defaults to `POST`.
26
+ *
27
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/azure/azapi/2.3.0/docs/data-sources/resource_action#method DataAzapiResourceAction#method}
28
+ */
29
+ readonly method?: string;
30
+ /**
31
+ * A map of query parameters to include in the request
32
+ *
33
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/azure/azapi/2.3.0/docs/data-sources/resource_action#query_parameters DataAzapiResourceAction#query_parameters}
34
+ */
35
+ readonly queryParameters?: {
36
+ [key: string]: string[];
37
+ } | cdktf.IResolvable;
38
+ /**
39
+ * The ID of the Azure resource to perform the action on.
40
+ *
41
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/azure/azapi/2.3.0/docs/data-sources/resource_action#resource_id DataAzapiResourceAction#resource_id}
42
+ */
43
+ readonly resourceId?: string;
44
+ /**
45
+ * The attribute can accept either a list or a map.
46
+ *
47
+ * - **List**: A list of paths that need to be exported from the response body. Setting it to `["*"]` will export the full response body. Here's an example. If it sets to `["properties.loginServer", "properties.policies.quarantinePolicy.status"]`, it will set the following HCL object to the computed property output.
48
+ *
49
+ * ```text
50
+ * {
51
+ * properties = {
52
+ * loginServer = "registry1.azurecr.io"
53
+ * policies = {
54
+ * quarantinePolicy = {
55
+ * status = "disabled"
56
+ * }
57
+ * }
58
+ * }
59
+ * }
60
+ * ```
61
+ *
62
+ * - **Map**: A map where the key is the name for the result and the value is a JMESPath query string to filter the response. Here's an example. If it sets to `{"login_server": "properties.loginServer", "quarantine_status": "properties.policies.quarantinePolicy.status"}`, it will set the following HCL object to the computed property output.
63
+ *
64
+ * ```text
65
+ * {
66
+ * "login_server" = "registry1.azurecr.io"
67
+ * "quarantine_status" = "disabled"
68
+ * }
69
+ * ```
70
+ *
71
+ * To learn more about JMESPath, visit [JMESPath](https://jmespath.org/).
72
+ *
73
+ *
74
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/azure/azapi/2.3.0/docs/data-sources/resource_action#response_export_values DataAzapiResourceAction#response_export_values}
75
+ */
76
+ readonly responseExportValues?: {
77
+ [key: string]: any;
78
+ };
79
+ /**
80
+ * The retry object supports the following attributes:
81
+ *
82
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/azure/azapi/2.3.0/docs/data-sources/resource_action#retry DataAzapiResourceAction#retry}
83
+ */
84
+ readonly retry?: DataAzapiResourceActionRetry;
85
+ /**
86
+ * The attribute can accept either a list or a map.
87
+ *
88
+ * - **List**: A list of paths that need to be exported from the response body. Setting it to `["*"]` will export the full response body. Here's an example. If it sets to `["properties.loginServer", "properties.policies.quarantinePolicy.status"]`, it will set the following HCL object to the computed property sensitive_output.
89
+ *
90
+ * ```text
91
+ * {
92
+ * properties = {
93
+ * loginServer = "registry1.azurecr.io"
94
+ * policies = {
95
+ * quarantinePolicy = {
96
+ * status = "disabled"
97
+ * }
98
+ * }
99
+ * }
100
+ * }
101
+ * ```
102
+ *
103
+ * - **Map**: A map where the key is the name for the result and the value is a JMESPath query string to filter the response. Here's an example. If it sets to `{"login_server": "properties.loginServer", "quarantine_status": "properties.policies.quarantinePolicy.status"}`, it will set the following HCL object to the computed property sensitive_output.
104
+ *
105
+ * ```text
106
+ * {
107
+ * "login_server" = "registry1.azurecr.io"
108
+ * "quarantine_status" = "disabled"
109
+ * }
110
+ * ```
111
+ *
112
+ * To learn more about JMESPath, visit [JMESPath](https://jmespath.org/).
113
+ *
114
+ *
115
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/azure/azapi/2.3.0/docs/data-sources/resource_action#sensitive_response_export_values DataAzapiResourceAction#sensitive_response_export_values}
116
+ */
117
+ readonly sensitiveResponseExportValues?: {
118
+ [key: string]: any;
119
+ };
120
+ /**
121
+ * In a format like `<resource-type>@<api-version>`. `<resource-type>` is the Azure resource type, for example, `Microsoft.Storage/storageAccounts`. `<api-version>` is version of the API used to manage this azure resource.
122
+ *
123
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/azure/azapi/2.3.0/docs/data-sources/resource_action#type DataAzapiResourceAction#type}
124
+ */
125
+ readonly type: string;
126
+ /**
127
+ * timeouts block
128
+ *
129
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/azure/azapi/2.3.0/docs/data-sources/resource_action#timeouts DataAzapiResourceAction#timeouts}
130
+ */
131
+ readonly timeouts?: DataAzapiResourceActionTimeouts;
132
+ }
133
+ export interface DataAzapiResourceActionRetry {
134
+ /**
135
+ * A list of regular expressions to match against error messages. If any of the regular expressions match, the request will be retried.
136
+ *
137
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/azure/azapi/2.3.0/docs/data-sources/resource_action#error_message_regex DataAzapiResourceAction#error_message_regex}
138
+ */
139
+ readonly errorMessageRegex: string[];
140
+ /**
141
+ * The base number of seconds to wait between retries. Default is `10`.
142
+ *
143
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/azure/azapi/2.3.0/docs/data-sources/resource_action#interval_seconds DataAzapiResourceAction#interval_seconds}
144
+ */
145
+ readonly intervalSeconds?: number;
146
+ /**
147
+ * The maximum number of seconds to wait between retries. Default is `180`.
148
+ *
149
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/azure/azapi/2.3.0/docs/data-sources/resource_action#max_interval_seconds DataAzapiResourceAction#max_interval_seconds}
150
+ */
151
+ readonly maxIntervalSeconds?: number;
152
+ /**
153
+ * The multiplier to apply to the interval between retries. Default is `1.5`.
154
+ *
155
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/azure/azapi/2.3.0/docs/data-sources/resource_action#multiplier DataAzapiResourceAction#multiplier}
156
+ */
157
+ readonly multiplier?: number;
158
+ /**
159
+ * The randomization factor to apply to the interval between retries. The formula for the randomized interval is: `RetryInterval * (random value in range [1 - RandomizationFactor, 1 + RandomizationFactor])`. Therefore set to zero `0.0` for no randomization. Default is `0.5`.
160
+ *
161
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/azure/azapi/2.3.0/docs/data-sources/resource_action#randomization_factor DataAzapiResourceAction#randomization_factor}
162
+ */
163
+ readonly randomizationFactor?: number;
164
+ }
165
+ export declare function dataAzapiResourceActionRetryToTerraform(struct?: DataAzapiResourceActionRetry | cdktf.IResolvable): any;
166
+ export declare function dataAzapiResourceActionRetryToHclTerraform(struct?: DataAzapiResourceActionRetry | cdktf.IResolvable): any;
167
+ export declare class DataAzapiResourceActionRetryOutputReference extends cdktf.ComplexObject {
168
+ private isEmptyObject;
169
+ private resolvableValue?;
170
+ /**
171
+ * @param terraformResource The parent resource
172
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
173
+ */
174
+ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string);
175
+ get internalValue(): DataAzapiResourceActionRetry | cdktf.IResolvable | undefined;
176
+ set internalValue(value: DataAzapiResourceActionRetry | cdktf.IResolvable | undefined);
177
+ private _errorMessageRegex?;
178
+ get errorMessageRegex(): string[];
179
+ set errorMessageRegex(value: string[]);
180
+ get errorMessageRegexInput(): string[] | undefined;
181
+ private _intervalSeconds?;
182
+ get intervalSeconds(): number;
183
+ set intervalSeconds(value: number);
184
+ resetIntervalSeconds(): void;
185
+ get intervalSecondsInput(): number | undefined;
186
+ private _maxIntervalSeconds?;
187
+ get maxIntervalSeconds(): number;
188
+ set maxIntervalSeconds(value: number);
189
+ resetMaxIntervalSeconds(): void;
190
+ get maxIntervalSecondsInput(): number | undefined;
191
+ private _multiplier?;
192
+ get multiplier(): number;
193
+ set multiplier(value: number);
194
+ resetMultiplier(): void;
195
+ get multiplierInput(): number | undefined;
196
+ private _randomizationFactor?;
197
+ get randomizationFactor(): number;
198
+ set randomizationFactor(value: number);
199
+ resetRandomizationFactor(): void;
200
+ get randomizationFactorInput(): number | undefined;
201
+ }
202
+ export interface DataAzapiResourceActionTimeouts {
203
+ /**
204
+ * A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
205
+ *
206
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/azure/azapi/2.3.0/docs/data-sources/resource_action#read DataAzapiResourceAction#read}
207
+ */
208
+ readonly read?: string;
209
+ }
210
+ export declare function dataAzapiResourceActionTimeoutsToTerraform(struct?: DataAzapiResourceActionTimeouts | cdktf.IResolvable): any;
211
+ export declare function dataAzapiResourceActionTimeoutsToHclTerraform(struct?: DataAzapiResourceActionTimeouts | cdktf.IResolvable): any;
212
+ export declare class DataAzapiResourceActionTimeoutsOutputReference extends cdktf.ComplexObject {
213
+ private isEmptyObject;
214
+ private resolvableValue?;
215
+ /**
216
+ * @param terraformResource The parent resource
217
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
218
+ */
219
+ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string);
220
+ get internalValue(): DataAzapiResourceActionTimeouts | cdktf.IResolvable | undefined;
221
+ set internalValue(value: DataAzapiResourceActionTimeouts | cdktf.IResolvable | undefined);
222
+ private _read?;
223
+ get read(): string;
224
+ set read(value: string);
225
+ resetRead(): void;
226
+ get readInput(): string | undefined;
227
+ }
228
+ /**
229
+ * Represents a {@link https://registry.terraform.io/providers/azure/azapi/2.3.0/docs/data-sources/resource_action azapi_resource_action}
230
+ */
231
+ export declare class DataAzapiResourceAction extends cdktf.TerraformDataSource {
232
+ static readonly tfResourceType = "azapi_resource_action";
233
+ /**
234
+ * Generates CDKTF code for importing a DataAzapiResourceAction resource upon running "cdktf plan <stack-name>"
235
+ * @param scope The scope in which to define this construct
236
+ * @param importToId The construct id used in the generated config for the DataAzapiResourceAction to import
237
+ * @param importFromId The id of the existing DataAzapiResourceAction that should be imported. Refer to the {@link https://registry.terraform.io/providers/azure/azapi/2.3.0/docs/data-sources/resource_action#import import section} in the documentation of this resource for the id to use
238
+ * @param provider? Optional instance of the provider where the DataAzapiResourceAction to import is found
239
+ */
240
+ static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): cdktf.ImportableResource;
241
+ /**
242
+ * Create a new {@link https://registry.terraform.io/providers/azure/azapi/2.3.0/docs/data-sources/resource_action azapi_resource_action} Data Source
243
+ *
244
+ * @param scope The scope in which to define this construct
245
+ * @param id The scoped construct ID. Must be unique amongst siblings in the same scope
246
+ * @param options DataAzapiResourceActionConfig
247
+ */
248
+ constructor(scope: Construct, id: string, config: DataAzapiResourceActionConfig);
249
+ private _action?;
250
+ get action(): string;
251
+ set action(value: string);
252
+ resetAction(): void;
253
+ get actionInput(): string | undefined;
254
+ private _body?;
255
+ get body(): {
256
+ [key: string]: any;
257
+ };
258
+ set body(value: {
259
+ [key: string]: any;
260
+ });
261
+ resetBody(): void;
262
+ get bodyInput(): {
263
+ [key: string]: any;
264
+ } | undefined;
265
+ private _headers?;
266
+ get headers(): {
267
+ [key: string]: string;
268
+ };
269
+ set headers(value: {
270
+ [key: string]: string;
271
+ });
272
+ resetHeaders(): void;
273
+ get headersInput(): {
274
+ [key: string]: string;
275
+ } | undefined;
276
+ get id(): string;
277
+ private _method?;
278
+ get method(): string;
279
+ set method(value: string);
280
+ resetMethod(): void;
281
+ get methodInput(): string | undefined;
282
+ private _output;
283
+ get output(): cdktf.AnyMap;
284
+ private _queryParameters?;
285
+ get queryParameters(): {
286
+ [key: string]: string[];
287
+ } | cdktf.IResolvable;
288
+ set queryParameters(value: {
289
+ [key: string]: string[];
290
+ } | cdktf.IResolvable);
291
+ resetQueryParameters(): void;
292
+ get queryParametersInput(): cdktf.IResolvable | {
293
+ [key: string]: string[];
294
+ } | undefined;
295
+ private _resourceId?;
296
+ get resourceId(): string;
297
+ set resourceId(value: string);
298
+ resetResourceId(): void;
299
+ get resourceIdInput(): string | undefined;
300
+ private _responseExportValues?;
301
+ get responseExportValues(): {
302
+ [key: string]: any;
303
+ };
304
+ set responseExportValues(value: {
305
+ [key: string]: any;
306
+ });
307
+ resetResponseExportValues(): void;
308
+ get responseExportValuesInput(): {
309
+ [key: string]: any;
310
+ } | undefined;
311
+ private _retry;
312
+ get retry(): DataAzapiResourceActionRetryOutputReference;
313
+ putRetry(value: DataAzapiResourceActionRetry): void;
314
+ resetRetry(): void;
315
+ get retryInput(): cdktf.IResolvable | DataAzapiResourceActionRetry | undefined;
316
+ private _sensitiveOutput;
317
+ get sensitiveOutput(): cdktf.AnyMap;
318
+ private _sensitiveResponseExportValues?;
319
+ get sensitiveResponseExportValues(): {
320
+ [key: string]: any;
321
+ };
322
+ set sensitiveResponseExportValues(value: {
323
+ [key: string]: any;
324
+ });
325
+ resetSensitiveResponseExportValues(): void;
326
+ get sensitiveResponseExportValuesInput(): {
327
+ [key: string]: any;
328
+ } | undefined;
329
+ private _type?;
330
+ get type(): string;
331
+ set type(value: string);
332
+ get typeInput(): string | undefined;
333
+ private _timeouts;
334
+ get timeouts(): DataAzapiResourceActionTimeoutsOutputReference;
335
+ putTimeouts(value: DataAzapiResourceActionTimeouts): void;
336
+ resetTimeouts(): void;
337
+ get timeoutsInput(): cdktf.IResolvable | DataAzapiResourceActionTimeouts | undefined;
338
+ protected synthesizeAttributes(): {
339
+ [name: string]: any;
340
+ };
341
+ protected synthesizeHclAttributes(): {
342
+ [name: string]: any;
343
+ };
344
+ }