terraform-cdk-serverless-github-actions-runner-controller 0.0.1 → 0.0.3
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/.jsii +202 -3
- package/API.md +285 -0
- package/biome.jsonc +66 -0
- package/lib/index.d.ts +2 -0
- package/lib/index.js +3 -1
- package/lib/lib/aws.d.ts +16 -1
- package/lib/lib/aws.js +278 -279
- package/lib/lib/azure.d.ts +1 -1
- package/lib/lib/azure.js +105 -130
- package/lib/lib/gcp.d.ts +1 -1
- package/lib/lib/gcp.js +49 -47
- package/lib/lib/variables.d.ts +3 -2
- package/lib/lib/variables.js +12 -4
- package/lib/tfModules.js +40 -10
- package/modules/azure-container-apps/README.md +3 -2
- package/modules/azure-container-apps/cdk.tf.json +15 -11
- package/modules/elastic-container-service/README.md +26 -25
- package/modules/elastic-container-service/cdk.tf.json +65 -75
- package/modules/google-cloud-run/README.md +19 -18
- package/modules/google-cloud-run/cdk.tf.json +12 -8
- package/package.json +16 -69
- package/renovate.json5 +42 -0
- package/vitest.config.ts +28 -0
- package/lib/__tests__/index-test.d.ts +0 -1
- package/lib/__tests__/index-test.js +0 -26
package/.jsii
CHANGED
@@ -1106,6 +1106,7 @@
|
|
1106
1106
|
"@cdktf/provider-aws.ec2ClientVpnEndpoint": {},
|
1107
1107
|
"@cdktf/provider-aws.ec2ClientVpnNetworkAssociation": {},
|
1108
1108
|
"@cdktf/provider-aws.ec2ClientVpnRoute": {},
|
1109
|
+
"@cdktf/provider-aws.ec2DefaultCreditSpecification": {},
|
1109
1110
|
"@cdktf/provider-aws.ec2Fleet": {},
|
1110
1111
|
"@cdktf/provider-aws.ec2Host": {},
|
1111
1112
|
"@cdktf/provider-aws.ec2ImageBlockPublicAccess": {},
|
@@ -3698,6 +3699,7 @@
|
|
3698
3699
|
"@cdktf/provider-google.apigeeKeystoresAliasesSelfSignedCert": {},
|
3699
3700
|
"@cdktf/provider-google.apigeeNatAddress": {},
|
3700
3701
|
"@cdktf/provider-google.apigeeOrganization": {},
|
3702
|
+
"@cdktf/provider-google.apigeeSecurityProfileV2": {},
|
3701
3703
|
"@cdktf/provider-google.apigeeSharedflow": {},
|
3702
3704
|
"@cdktf/provider-google.apigeeSharedflowDeployment": {},
|
3703
3705
|
"@cdktf/provider-google.apigeeSyncAuthorization": {},
|
@@ -3780,6 +3782,8 @@
|
|
3780
3782
|
"@cdktf/provider-google.bigtableInstanceIamBinding": {},
|
3781
3783
|
"@cdktf/provider-google.bigtableInstanceIamMember": {},
|
3782
3784
|
"@cdktf/provider-google.bigtableInstanceIamPolicy": {},
|
3785
|
+
"@cdktf/provider-google.bigtableLogicalView": {},
|
3786
|
+
"@cdktf/provider-google.bigtableMaterializedView": {},
|
3783
3787
|
"@cdktf/provider-google.bigtableTable": {},
|
3784
3788
|
"@cdktf/provider-google.bigtableTableIamBinding": {},
|
3785
3789
|
"@cdktf/provider-google.bigtableTableIamMember": {},
|
@@ -3964,6 +3968,8 @@
|
|
3964
3968
|
"@cdktf/provider-google.computeRegionNetworkFirewallPolicyAssociation": {},
|
3965
3969
|
"@cdktf/provider-google.computeRegionNetworkFirewallPolicyRule": {},
|
3966
3970
|
"@cdktf/provider-google.computeRegionPerInstanceConfig": {},
|
3971
|
+
"@cdktf/provider-google.computeRegionSecurityPolicy": {},
|
3972
|
+
"@cdktf/provider-google.computeRegionSecurityPolicyRule": {},
|
3967
3973
|
"@cdktf/provider-google.computeRegionSslCertificate": {},
|
3968
3974
|
"@cdktf/provider-google.computeRegionSslPolicy": {},
|
3969
3975
|
"@cdktf/provider-google.computeRegionTargetHttpProxy": {},
|
@@ -4273,6 +4279,7 @@
|
|
4273
4279
|
"@cdktf/provider-google.dataGoogleLoggingProjectCmekSettings": {},
|
4274
4280
|
"@cdktf/provider-google.dataGoogleLoggingProjectSettings": {},
|
4275
4281
|
"@cdktf/provider-google.dataGoogleLoggingSink": {},
|
4282
|
+
"@cdktf/provider-google.dataGoogleMemcacheInstance": {},
|
4276
4283
|
"@cdktf/provider-google.dataGoogleMemorystoreInstance": {},
|
4277
4284
|
"@cdktf/provider-google.dataGoogleMonitoringAppEngineService": {},
|
4278
4285
|
"@cdktf/provider-google.dataGoogleMonitoringClusterIstioService": {},
|
@@ -4817,6 +4824,7 @@
|
|
4817
4824
|
"@cdktf/provider-google.osConfigOsPolicyAssignment": {},
|
4818
4825
|
"@cdktf/provider-google.osConfigPatchDeployment": {},
|
4819
4826
|
"@cdktf/provider-google.osConfigV2PolicyOrchestrator": {},
|
4827
|
+
"@cdktf/provider-google.osConfigV2PolicyOrchestratorForFolder": {},
|
4820
4828
|
"@cdktf/provider-google.osConfigV2PolicyOrchestratorForOrganization": {},
|
4821
4829
|
"@cdktf/provider-google.osLoginSshPublicKey": {},
|
4822
4830
|
"@cdktf/provider-google.parallelstoreInstance": {},
|
@@ -5200,7 +5208,7 @@
|
|
5200
5208
|
"stability": "stable"
|
5201
5209
|
},
|
5202
5210
|
"homepage": "https://github.com/Hi-Fi/terraform-cdk-serverless-github-actions-runner-controller.git",
|
5203
|
-
"jsiiVersion": "5.6.
|
5211
|
+
"jsiiVersion": "5.6.19 (build 73f2485)",
|
5204
5212
|
"keywords": [
|
5205
5213
|
"cdk",
|
5206
5214
|
"cdktf",
|
@@ -5231,6 +5239,159 @@
|
|
5231
5239
|
}
|
5232
5240
|
},
|
5233
5241
|
"types": {
|
5242
|
+
"terraform-cdk-serverless-github-actions-runner-controller.Aws": {
|
5243
|
+
"assembly": "terraform-cdk-serverless-github-actions-runner-controller",
|
5244
|
+
"base": "constructs.Construct",
|
5245
|
+
"docs": {
|
5246
|
+
"stability": "stable"
|
5247
|
+
},
|
5248
|
+
"fqn": "terraform-cdk-serverless-github-actions-runner-controller.Aws",
|
5249
|
+
"initializer": {
|
5250
|
+
"docs": {
|
5251
|
+
"stability": "stable"
|
5252
|
+
},
|
5253
|
+
"locationInModule": {
|
5254
|
+
"filename": "src/lib/aws.ts",
|
5255
|
+
"line": 45
|
5256
|
+
},
|
5257
|
+
"parameters": [
|
5258
|
+
{
|
5259
|
+
"name": "scope",
|
5260
|
+
"type": {
|
5261
|
+
"fqn": "constructs.Construct"
|
5262
|
+
}
|
5263
|
+
},
|
5264
|
+
{
|
5265
|
+
"name": "id",
|
5266
|
+
"type": {
|
5267
|
+
"primitive": "string"
|
5268
|
+
}
|
5269
|
+
},
|
5270
|
+
{
|
5271
|
+
"name": "props",
|
5272
|
+
"type": {
|
5273
|
+
"fqn": "terraform-cdk-serverless-github-actions-runner-controller.AwsProps"
|
5274
|
+
}
|
5275
|
+
}
|
5276
|
+
]
|
5277
|
+
},
|
5278
|
+
"kind": "class",
|
5279
|
+
"locationInModule": {
|
5280
|
+
"filename": "src/lib/aws.ts",
|
5281
|
+
"line": 44
|
5282
|
+
},
|
5283
|
+
"name": "Aws",
|
5284
|
+
"symbolId": "src/lib/aws:Aws"
|
5285
|
+
},
|
5286
|
+
"terraform-cdk-serverless-github-actions-runner-controller.AwsProps": {
|
5287
|
+
"assembly": "terraform-cdk-serverless-github-actions-runner-controller",
|
5288
|
+
"datatype": true,
|
5289
|
+
"docs": {
|
5290
|
+
"stability": "stable"
|
5291
|
+
},
|
5292
|
+
"fqn": "terraform-cdk-serverless-github-actions-runner-controller.AwsProps",
|
5293
|
+
"kind": "interface",
|
5294
|
+
"locationInModule": {
|
5295
|
+
"filename": "src/lib/aws.ts",
|
5296
|
+
"line": 29
|
5297
|
+
},
|
5298
|
+
"name": "AwsProps",
|
5299
|
+
"properties": [
|
5300
|
+
{
|
5301
|
+
"abstract": true,
|
5302
|
+
"docs": {
|
5303
|
+
"stability": "stable"
|
5304
|
+
},
|
5305
|
+
"immutable": true,
|
5306
|
+
"locationInModule": {
|
5307
|
+
"filename": "src/lib/aws.ts",
|
5308
|
+
"line": 31
|
5309
|
+
},
|
5310
|
+
"name": "clusterName",
|
5311
|
+
"type": {
|
5312
|
+
"primitive": "string"
|
5313
|
+
}
|
5314
|
+
},
|
5315
|
+
{
|
5316
|
+
"abstract": true,
|
5317
|
+
"docs": {
|
5318
|
+
"stability": "stable"
|
5319
|
+
},
|
5320
|
+
"immutable": true,
|
5321
|
+
"locationInModule": {
|
5322
|
+
"filename": "src/lib/aws.ts",
|
5323
|
+
"line": 33
|
5324
|
+
},
|
5325
|
+
"name": "containerSupport",
|
5326
|
+
"type": {
|
5327
|
+
"primitive": "boolean"
|
5328
|
+
}
|
5329
|
+
},
|
5330
|
+
{
|
5331
|
+
"abstract": true,
|
5332
|
+
"docs": {
|
5333
|
+
"see": "https://docs.aws.amazon.com/cli/latest/reference/ec2/describe-security-groups.html",
|
5334
|
+
"stability": "stable"
|
5335
|
+
},
|
5336
|
+
"immutable": true,
|
5337
|
+
"locationInModule": {
|
5338
|
+
"filename": "src/lib/aws.ts",
|
5339
|
+
"line": 41
|
5340
|
+
},
|
5341
|
+
"name": "securityGroupFilters",
|
5342
|
+
"optional": true,
|
5343
|
+
"type": {
|
5344
|
+
"union": {
|
5345
|
+
"types": [
|
5346
|
+
{
|
5347
|
+
"fqn": "cdktf.IResolvable"
|
5348
|
+
},
|
5349
|
+
{
|
5350
|
+
"collection": {
|
5351
|
+
"elementtype": {
|
5352
|
+
"fqn": "@cdktf/provider-aws.dataAwsSecurityGroups.DataAwsSecurityGroupsFilter"
|
5353
|
+
},
|
5354
|
+
"kind": "array"
|
5355
|
+
}
|
5356
|
+
}
|
5357
|
+
]
|
5358
|
+
}
|
5359
|
+
}
|
5360
|
+
},
|
5361
|
+
{
|
5362
|
+
"abstract": true,
|
5363
|
+
"docs": {
|
5364
|
+
"see": "https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeSubnets.html",
|
5365
|
+
"stability": "stable"
|
5366
|
+
},
|
5367
|
+
"immutable": true,
|
5368
|
+
"locationInModule": {
|
5369
|
+
"filename": "src/lib/aws.ts",
|
5370
|
+
"line": 37
|
5371
|
+
},
|
5372
|
+
"name": "subnetFilters",
|
5373
|
+
"optional": true,
|
5374
|
+
"type": {
|
5375
|
+
"union": {
|
5376
|
+
"types": [
|
5377
|
+
{
|
5378
|
+
"fqn": "cdktf.IResolvable"
|
5379
|
+
},
|
5380
|
+
{
|
5381
|
+
"collection": {
|
5382
|
+
"elementtype": {
|
5383
|
+
"fqn": "@cdktf/provider-aws.dataAwsSubnets.DataAwsSubnetsFilter"
|
5384
|
+
},
|
5385
|
+
"kind": "array"
|
5386
|
+
}
|
5387
|
+
}
|
5388
|
+
]
|
5389
|
+
}
|
5390
|
+
}
|
5391
|
+
}
|
5392
|
+
],
|
5393
|
+
"symbolId": "src/lib/aws:AwsProps"
|
5394
|
+
},
|
5234
5395
|
"terraform-cdk-serverless-github-actions-runner-controller.Azure": {
|
5235
5396
|
"assembly": "terraform-cdk-serverless-github-actions-runner-controller",
|
5236
5397
|
"base": "constructs.Construct",
|
@@ -5268,8 +5429,46 @@
|
|
5268
5429
|
},
|
5269
5430
|
"name": "Azure",
|
5270
5431
|
"symbolId": "src/lib/azure:Azure"
|
5432
|
+
},
|
5433
|
+
"terraform-cdk-serverless-github-actions-runner-controller.Gcp": {
|
5434
|
+
"assembly": "terraform-cdk-serverless-github-actions-runner-controller",
|
5435
|
+
"base": "constructs.Construct",
|
5436
|
+
"docs": {
|
5437
|
+
"stability": "stable"
|
5438
|
+
},
|
5439
|
+
"fqn": "terraform-cdk-serverless-github-actions-runner-controller.Gcp",
|
5440
|
+
"initializer": {
|
5441
|
+
"docs": {
|
5442
|
+
"stability": "stable"
|
5443
|
+
},
|
5444
|
+
"locationInModule": {
|
5445
|
+
"filename": "src/lib/gcp.ts",
|
5446
|
+
"line": 15
|
5447
|
+
},
|
5448
|
+
"parameters": [
|
5449
|
+
{
|
5450
|
+
"name": "scope",
|
5451
|
+
"type": {
|
5452
|
+
"fqn": "constructs.Construct"
|
5453
|
+
}
|
5454
|
+
},
|
5455
|
+
{
|
5456
|
+
"name": "id",
|
5457
|
+
"type": {
|
5458
|
+
"primitive": "string"
|
5459
|
+
}
|
5460
|
+
}
|
5461
|
+
]
|
5462
|
+
},
|
5463
|
+
"kind": "class",
|
5464
|
+
"locationInModule": {
|
5465
|
+
"filename": "src/lib/gcp.ts",
|
5466
|
+
"line": 14
|
5467
|
+
},
|
5468
|
+
"name": "Gcp",
|
5469
|
+
"symbolId": "src/lib/gcp:Gcp"
|
5271
5470
|
}
|
5272
5471
|
},
|
5273
|
-
"version": "0.0.
|
5274
|
-
"fingerprint": "
|
5472
|
+
"version": "0.0.3",
|
5473
|
+
"fingerprint": "iUkv/vwmLc/CF+JAROSzrwDPgf2uIPu0E2NqEqa2DI4="
|
5275
5474
|
}
|
package/API.md
CHANGED
@@ -2,6 +2,119 @@
|
|
2
2
|
|
3
3
|
## Constructs <a name="Constructs" id="Constructs"></a>
|
4
4
|
|
5
|
+
### Aws <a name="Aws" id="terraform-cdk-serverless-github-actions-runner-controller.Aws"></a>
|
6
|
+
|
7
|
+
#### Initializers <a name="Initializers" id="terraform-cdk-serverless-github-actions-runner-controller.Aws.Initializer"></a>
|
8
|
+
|
9
|
+
```typescript
|
10
|
+
import { Aws } from 'terraform-cdk-serverless-github-actions-runner-controller'
|
11
|
+
|
12
|
+
new Aws(scope: Construct, id: string, props: AwsProps)
|
13
|
+
```
|
14
|
+
|
15
|
+
| **Name** | **Type** | **Description** |
|
16
|
+
| --- | --- | --- |
|
17
|
+
| <code><a href="#terraform-cdk-serverless-github-actions-runner-controller.Aws.Initializer.parameter.scope">scope</a></code> | <code>constructs.Construct</code> | *No description.* |
|
18
|
+
| <code><a href="#terraform-cdk-serverless-github-actions-runner-controller.Aws.Initializer.parameter.id">id</a></code> | <code>string</code> | *No description.* |
|
19
|
+
| <code><a href="#terraform-cdk-serverless-github-actions-runner-controller.Aws.Initializer.parameter.props">props</a></code> | <code><a href="#terraform-cdk-serverless-github-actions-runner-controller.AwsProps">AwsProps</a></code> | *No description.* |
|
20
|
+
|
21
|
+
---
|
22
|
+
|
23
|
+
##### `scope`<sup>Required</sup> <a name="scope" id="terraform-cdk-serverless-github-actions-runner-controller.Aws.Initializer.parameter.scope"></a>
|
24
|
+
|
25
|
+
- *Type:* constructs.Construct
|
26
|
+
|
27
|
+
---
|
28
|
+
|
29
|
+
##### `id`<sup>Required</sup> <a name="id" id="terraform-cdk-serverless-github-actions-runner-controller.Aws.Initializer.parameter.id"></a>
|
30
|
+
|
31
|
+
- *Type:* string
|
32
|
+
|
33
|
+
---
|
34
|
+
|
35
|
+
##### `props`<sup>Required</sup> <a name="props" id="terraform-cdk-serverless-github-actions-runner-controller.Aws.Initializer.parameter.props"></a>
|
36
|
+
|
37
|
+
- *Type:* <a href="#terraform-cdk-serverless-github-actions-runner-controller.AwsProps">AwsProps</a>
|
38
|
+
|
39
|
+
---
|
40
|
+
|
41
|
+
#### Methods <a name="Methods" id="Methods"></a>
|
42
|
+
|
43
|
+
| **Name** | **Description** |
|
44
|
+
| --- | --- |
|
45
|
+
| <code><a href="#terraform-cdk-serverless-github-actions-runner-controller.Aws.toString">toString</a></code> | Returns a string representation of this construct. |
|
46
|
+
|
47
|
+
---
|
48
|
+
|
49
|
+
##### `toString` <a name="toString" id="terraform-cdk-serverless-github-actions-runner-controller.Aws.toString"></a>
|
50
|
+
|
51
|
+
```typescript
|
52
|
+
public toString(): string
|
53
|
+
```
|
54
|
+
|
55
|
+
Returns a string representation of this construct.
|
56
|
+
|
57
|
+
#### Static Functions <a name="Static Functions" id="Static Functions"></a>
|
58
|
+
|
59
|
+
| **Name** | **Description** |
|
60
|
+
| --- | --- |
|
61
|
+
| <code><a href="#terraform-cdk-serverless-github-actions-runner-controller.Aws.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
|
62
|
+
|
63
|
+
---
|
64
|
+
|
65
|
+
##### `isConstruct` <a name="isConstruct" id="terraform-cdk-serverless-github-actions-runner-controller.Aws.isConstruct"></a>
|
66
|
+
|
67
|
+
```typescript
|
68
|
+
import { Aws } from 'terraform-cdk-serverless-github-actions-runner-controller'
|
69
|
+
|
70
|
+
Aws.isConstruct(x: any)
|
71
|
+
```
|
72
|
+
|
73
|
+
Checks if `x` is a construct.
|
74
|
+
|
75
|
+
Use this method instead of `instanceof` to properly detect `Construct`
|
76
|
+
instances, even when the construct library is symlinked.
|
77
|
+
|
78
|
+
Explanation: in JavaScript, multiple copies of the `constructs` library on
|
79
|
+
disk are seen as independent, completely different libraries. As a
|
80
|
+
consequence, the class `Construct` in each copy of the `constructs` library
|
81
|
+
is seen as a different class, and an instance of one class will not test as
|
82
|
+
`instanceof` the other class. `npm install` will not create installations
|
83
|
+
like this, but users may manually symlink construct libraries together or
|
84
|
+
use a monorepo tool: in those cases, multiple copies of the `constructs`
|
85
|
+
library can be accidentally installed, and `instanceof` will behave
|
86
|
+
unpredictably. It is safest to avoid using `instanceof`, and using
|
87
|
+
this type-testing method instead.
|
88
|
+
|
89
|
+
###### `x`<sup>Required</sup> <a name="x" id="terraform-cdk-serverless-github-actions-runner-controller.Aws.isConstruct.parameter.x"></a>
|
90
|
+
|
91
|
+
- *Type:* any
|
92
|
+
|
93
|
+
Any object.
|
94
|
+
|
95
|
+
---
|
96
|
+
|
97
|
+
#### Properties <a name="Properties" id="Properties"></a>
|
98
|
+
|
99
|
+
| **Name** | **Type** | **Description** |
|
100
|
+
| --- | --- | --- |
|
101
|
+
| <code><a href="#terraform-cdk-serverless-github-actions-runner-controller.Aws.property.node">node</a></code> | <code>constructs.Node</code> | The tree node. |
|
102
|
+
|
103
|
+
---
|
104
|
+
|
105
|
+
##### `node`<sup>Required</sup> <a name="node" id="terraform-cdk-serverless-github-actions-runner-controller.Aws.property.node"></a>
|
106
|
+
|
107
|
+
```typescript
|
108
|
+
public readonly node: Node;
|
109
|
+
```
|
110
|
+
|
111
|
+
- *Type:* constructs.Node
|
112
|
+
|
113
|
+
The tree node.
|
114
|
+
|
115
|
+
---
|
116
|
+
|
117
|
+
|
5
118
|
### Azure <a name="Azure" id="terraform-cdk-serverless-github-actions-runner-controller.Azure"></a>
|
6
119
|
|
7
120
|
#### Initializers <a name="Initializers" id="terraform-cdk-serverless-github-actions-runner-controller.Azure.Initializer"></a>
|
@@ -108,6 +221,178 @@ The tree node.
|
|
108
221
|
---
|
109
222
|
|
110
223
|
|
224
|
+
### Gcp <a name="Gcp" id="terraform-cdk-serverless-github-actions-runner-controller.Gcp"></a>
|
225
|
+
|
226
|
+
#### Initializers <a name="Initializers" id="terraform-cdk-serverless-github-actions-runner-controller.Gcp.Initializer"></a>
|
227
|
+
|
228
|
+
```typescript
|
229
|
+
import { Gcp } from 'terraform-cdk-serverless-github-actions-runner-controller'
|
230
|
+
|
231
|
+
new Gcp(scope: Construct, id: string)
|
232
|
+
```
|
233
|
+
|
234
|
+
| **Name** | **Type** | **Description** |
|
235
|
+
| --- | --- | --- |
|
236
|
+
| <code><a href="#terraform-cdk-serverless-github-actions-runner-controller.Gcp.Initializer.parameter.scope">scope</a></code> | <code>constructs.Construct</code> | *No description.* |
|
237
|
+
| <code><a href="#terraform-cdk-serverless-github-actions-runner-controller.Gcp.Initializer.parameter.id">id</a></code> | <code>string</code> | *No description.* |
|
238
|
+
|
239
|
+
---
|
240
|
+
|
241
|
+
##### `scope`<sup>Required</sup> <a name="scope" id="terraform-cdk-serverless-github-actions-runner-controller.Gcp.Initializer.parameter.scope"></a>
|
242
|
+
|
243
|
+
- *Type:* constructs.Construct
|
244
|
+
|
245
|
+
---
|
246
|
+
|
247
|
+
##### `id`<sup>Required</sup> <a name="id" id="terraform-cdk-serverless-github-actions-runner-controller.Gcp.Initializer.parameter.id"></a>
|
248
|
+
|
249
|
+
- *Type:* string
|
250
|
+
|
251
|
+
---
|
252
|
+
|
253
|
+
#### Methods <a name="Methods" id="Methods"></a>
|
254
|
+
|
255
|
+
| **Name** | **Description** |
|
256
|
+
| --- | --- |
|
257
|
+
| <code><a href="#terraform-cdk-serverless-github-actions-runner-controller.Gcp.toString">toString</a></code> | Returns a string representation of this construct. |
|
258
|
+
|
259
|
+
---
|
260
|
+
|
261
|
+
##### `toString` <a name="toString" id="terraform-cdk-serverless-github-actions-runner-controller.Gcp.toString"></a>
|
262
|
+
|
263
|
+
```typescript
|
264
|
+
public toString(): string
|
265
|
+
```
|
266
|
+
|
267
|
+
Returns a string representation of this construct.
|
268
|
+
|
269
|
+
#### Static Functions <a name="Static Functions" id="Static Functions"></a>
|
270
|
+
|
271
|
+
| **Name** | **Description** |
|
272
|
+
| --- | --- |
|
273
|
+
| <code><a href="#terraform-cdk-serverless-github-actions-runner-controller.Gcp.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
|
274
|
+
|
275
|
+
---
|
276
|
+
|
277
|
+
##### `isConstruct` <a name="isConstruct" id="terraform-cdk-serverless-github-actions-runner-controller.Gcp.isConstruct"></a>
|
278
|
+
|
279
|
+
```typescript
|
280
|
+
import { Gcp } from 'terraform-cdk-serverless-github-actions-runner-controller'
|
281
|
+
|
282
|
+
Gcp.isConstruct(x: any)
|
283
|
+
```
|
284
|
+
|
285
|
+
Checks if `x` is a construct.
|
286
|
+
|
287
|
+
Use this method instead of `instanceof` to properly detect `Construct`
|
288
|
+
instances, even when the construct library is symlinked.
|
289
|
+
|
290
|
+
Explanation: in JavaScript, multiple copies of the `constructs` library on
|
291
|
+
disk are seen as independent, completely different libraries. As a
|
292
|
+
consequence, the class `Construct` in each copy of the `constructs` library
|
293
|
+
is seen as a different class, and an instance of one class will not test as
|
294
|
+
`instanceof` the other class. `npm install` will not create installations
|
295
|
+
like this, but users may manually symlink construct libraries together or
|
296
|
+
use a monorepo tool: in those cases, multiple copies of the `constructs`
|
297
|
+
library can be accidentally installed, and `instanceof` will behave
|
298
|
+
unpredictably. It is safest to avoid using `instanceof`, and using
|
299
|
+
this type-testing method instead.
|
300
|
+
|
301
|
+
###### `x`<sup>Required</sup> <a name="x" id="terraform-cdk-serverless-github-actions-runner-controller.Gcp.isConstruct.parameter.x"></a>
|
302
|
+
|
303
|
+
- *Type:* any
|
304
|
+
|
305
|
+
Any object.
|
306
|
+
|
307
|
+
---
|
308
|
+
|
309
|
+
#### Properties <a name="Properties" id="Properties"></a>
|
310
|
+
|
311
|
+
| **Name** | **Type** | **Description** |
|
312
|
+
| --- | --- | --- |
|
313
|
+
| <code><a href="#terraform-cdk-serverless-github-actions-runner-controller.Gcp.property.node">node</a></code> | <code>constructs.Node</code> | The tree node. |
|
314
|
+
|
315
|
+
---
|
316
|
+
|
317
|
+
##### `node`<sup>Required</sup> <a name="node" id="terraform-cdk-serverless-github-actions-runner-controller.Gcp.property.node"></a>
|
318
|
+
|
319
|
+
```typescript
|
320
|
+
public readonly node: Node;
|
321
|
+
```
|
322
|
+
|
323
|
+
- *Type:* constructs.Node
|
324
|
+
|
325
|
+
The tree node.
|
326
|
+
|
327
|
+
---
|
328
|
+
|
329
|
+
|
330
|
+
## Structs <a name="Structs" id="Structs"></a>
|
331
|
+
|
332
|
+
### AwsProps <a name="AwsProps" id="terraform-cdk-serverless-github-actions-runner-controller.AwsProps"></a>
|
333
|
+
|
334
|
+
#### Initializer <a name="Initializer" id="terraform-cdk-serverless-github-actions-runner-controller.AwsProps.Initializer"></a>
|
335
|
+
|
336
|
+
```typescript
|
337
|
+
import { AwsProps } from 'terraform-cdk-serverless-github-actions-runner-controller'
|
338
|
+
|
339
|
+
const awsProps: AwsProps = { ... }
|
340
|
+
```
|
341
|
+
|
342
|
+
#### Properties <a name="Properties" id="Properties"></a>
|
343
|
+
|
344
|
+
| **Name** | **Type** | **Description** |
|
345
|
+
| --- | --- | --- |
|
346
|
+
| <code><a href="#terraform-cdk-serverless-github-actions-runner-controller.AwsProps.property.clusterName">clusterName</a></code> | <code>string</code> | *No description.* |
|
347
|
+
| <code><a href="#terraform-cdk-serverless-github-actions-runner-controller.AwsProps.property.containerSupport">containerSupport</a></code> | <code>boolean</code> | *No description.* |
|
348
|
+
| <code><a href="#terraform-cdk-serverless-github-actions-runner-controller.AwsProps.property.securityGroupFilters">securityGroupFilters</a></code> | <code>cdktf.IResolvable \| @cdktf/provider-aws.dataAwsSecurityGroups.DataAwsSecurityGroupsFilter[]</code> | *No description.* |
|
349
|
+
| <code><a href="#terraform-cdk-serverless-github-actions-runner-controller.AwsProps.property.subnetFilters">subnetFilters</a></code> | <code>cdktf.IResolvable \| @cdktf/provider-aws.dataAwsSubnets.DataAwsSubnetsFilter[]</code> | *No description.* |
|
350
|
+
|
351
|
+
---
|
352
|
+
|
353
|
+
##### `clusterName`<sup>Required</sup> <a name="clusterName" id="terraform-cdk-serverless-github-actions-runner-controller.AwsProps.property.clusterName"></a>
|
354
|
+
|
355
|
+
```typescript
|
356
|
+
public readonly clusterName: string;
|
357
|
+
```
|
358
|
+
|
359
|
+
- *Type:* string
|
360
|
+
|
361
|
+
---
|
362
|
+
|
363
|
+
##### `containerSupport`<sup>Required</sup> <a name="containerSupport" id="terraform-cdk-serverless-github-actions-runner-controller.AwsProps.property.containerSupport"></a>
|
364
|
+
|
365
|
+
```typescript
|
366
|
+
public readonly containerSupport: boolean;
|
367
|
+
```
|
368
|
+
|
369
|
+
- *Type:* boolean
|
370
|
+
|
371
|
+
---
|
372
|
+
|
373
|
+
##### `securityGroupFilters`<sup>Optional</sup> <a name="securityGroupFilters" id="terraform-cdk-serverless-github-actions-runner-controller.AwsProps.property.securityGroupFilters"></a>
|
374
|
+
|
375
|
+
```typescript
|
376
|
+
public readonly securityGroupFilters: IResolvable | DataAwsSecurityGroupsFilter[];
|
377
|
+
```
|
378
|
+
|
379
|
+
- *Type:* cdktf.IResolvable | @cdktf/provider-aws.dataAwsSecurityGroups.DataAwsSecurityGroupsFilter[]
|
380
|
+
|
381
|
+
> [https://docs.aws.amazon.com/cli/latest/reference/ec2/describe-security-groups.html](https://docs.aws.amazon.com/cli/latest/reference/ec2/describe-security-groups.html)
|
382
|
+
|
383
|
+
---
|
384
|
+
|
385
|
+
##### `subnetFilters`<sup>Optional</sup> <a name="subnetFilters" id="terraform-cdk-serverless-github-actions-runner-controller.AwsProps.property.subnetFilters"></a>
|
386
|
+
|
387
|
+
```typescript
|
388
|
+
public readonly subnetFilters: IResolvable | DataAwsSubnetsFilter[];
|
389
|
+
```
|
390
|
+
|
391
|
+
- *Type:* cdktf.IResolvable | @cdktf/provider-aws.dataAwsSubnets.DataAwsSubnetsFilter[]
|
392
|
+
|
393
|
+
> [https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeSubnets.html](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeSubnets.html)
|
394
|
+
|
395
|
+
---
|
111
396
|
|
112
397
|
|
113
398
|
|
package/biome.jsonc
ADDED
@@ -0,0 +1,66 @@
|
|
1
|
+
// ~~ Generated by projen. To modify, edit .projenrc.ts and run "npx projen".
|
2
|
+
{
|
3
|
+
"formatter": {
|
4
|
+
"enabled": true,
|
5
|
+
"useEditorconfig": true,
|
6
|
+
"formatWithErrors": true,
|
7
|
+
"indentStyle": "space",
|
8
|
+
"indentWidth": 2,
|
9
|
+
"lineEnding": "lf",
|
10
|
+
"lineWidth": 80,
|
11
|
+
"attributePosition": "auto",
|
12
|
+
"bracketSpacing": true
|
13
|
+
},
|
14
|
+
"organizeImports": {
|
15
|
+
"enabled": true
|
16
|
+
},
|
17
|
+
"linter": {
|
18
|
+
"enabled": true,
|
19
|
+
"rules": {
|
20
|
+
"recommended": false,
|
21
|
+
"complexity": {
|
22
|
+
"useLiteralKeys": "error"
|
23
|
+
},
|
24
|
+
"style": {
|
25
|
+
"useBlockStatements": "error"
|
26
|
+
}
|
27
|
+
},
|
28
|
+
"ignore": [
|
29
|
+
"**/*.js",
|
30
|
+
"**/*.d.ts",
|
31
|
+
"**/node_modules/",
|
32
|
+
"**/*.generated.ts",
|
33
|
+
"**/coverage"
|
34
|
+
]
|
35
|
+
},
|
36
|
+
"javascript": {
|
37
|
+
"formatter": {
|
38
|
+
"jsxQuoteStyle": "double",
|
39
|
+
"quoteProperties": "asNeeded",
|
40
|
+
"trailingCommas": "all",
|
41
|
+
"semicolons": "asNeeded",
|
42
|
+
"arrowParentheses": "always",
|
43
|
+
"bracketSameLine": false,
|
44
|
+
"quoteStyle": "single",
|
45
|
+
"attributePosition": "auto",
|
46
|
+
"bracketSpacing": true
|
47
|
+
}
|
48
|
+
},
|
49
|
+
"overrides": [
|
50
|
+
{
|
51
|
+
"include": [],
|
52
|
+
"linter": {
|
53
|
+
"rules": {}
|
54
|
+
}
|
55
|
+
}
|
56
|
+
],
|
57
|
+
"vcs": {
|
58
|
+
"enabled": false,
|
59
|
+
"clientKind": "git",
|
60
|
+
"useIgnoreFile": false
|
61
|
+
},
|
62
|
+
"files": {
|
63
|
+
"ignoreUnknown": false,
|
64
|
+
"ignore": []
|
65
|
+
}
|
66
|
+
}
|
package/lib/index.d.ts
CHANGED
package/lib/index.js
CHANGED
@@ -14,5 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
15
|
};
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
+
__exportStar(require("./lib/aws"), exports);
|
17
18
|
__exportStar(require("./lib/azure"), exports);
|
18
|
-
|
19
|
+
__exportStar(require("./lib/gcp"), exports);
|
20
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7OztBQUFBLDRDQUF5QjtBQUN6Qiw4Q0FBMkI7QUFDM0IsNENBQXlCIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9saWIvYXdzJ1xuZXhwb3J0ICogZnJvbSAnLi9saWIvYXp1cmUnXG5leHBvcnQgKiBmcm9tICcuL2xpYi9nY3AnXG4iXX0=
|
package/lib/lib/aws.d.ts
CHANGED
@@ -1,4 +1,19 @@
|
|
1
|
+
import { DataAwsSecurityGroupsFilter } from '@cdktf/provider-aws/lib/data-aws-security-groups';
|
2
|
+
import { DataAwsSubnetsFilter } from '@cdktf/provider-aws/lib/data-aws-subnets';
|
3
|
+
import { IResolvable } from 'cdktf';
|
1
4
|
import { Construct } from 'constructs';
|
5
|
+
export interface AwsProps {
|
6
|
+
readonly clusterName: string;
|
7
|
+
readonly containerSupport: boolean;
|
8
|
+
/**
|
9
|
+
* @see https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeSubnets.html
|
10
|
+
*/
|
11
|
+
readonly subnetFilters?: DataAwsSubnetsFilter[] | IResolvable;
|
12
|
+
/**
|
13
|
+
* @see https://docs.aws.amazon.com/cli/latest/reference/ec2/describe-security-groups.html
|
14
|
+
*/
|
15
|
+
readonly securityGroupFilters?: DataAwsSecurityGroupsFilter[] | IResolvable;
|
16
|
+
}
|
2
17
|
export declare class Aws extends Construct {
|
3
|
-
constructor(scope: Construct, id: string);
|
18
|
+
constructor(scope: Construct, id: string, props: AwsProps);
|
4
19
|
}
|