@cloudsnorkel/cdk-github-runners 0.14.3 → 0.14.5

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 CHANGED
@@ -5472,6 +5472,7 @@ const codeBuildRunnerProviderProps: CodeBuildRunnerProviderProps = { ... }
5472
5472
  | <code><a href="#@cloudsnorkel/cdk-github-runners.CodeBuildRunnerProviderProps.property.retryOptions">retryOptions</a></code> | <code><a href="#@cloudsnorkel/cdk-github-runners.ProviderRetryOptions">ProviderRetryOptions</a></code> | *No description.* |
5473
5473
  | <code><a href="#@cloudsnorkel/cdk-github-runners.CodeBuildRunnerProviderProps.property.computeType">computeType</a></code> | <code>aws-cdk-lib.aws_codebuild.ComputeType</code> | The type of compute to use for this build. |
5474
5474
  | <code><a href="#@cloudsnorkel/cdk-github-runners.CodeBuildRunnerProviderProps.property.dockerInDocker">dockerInDocker</a></code> | <code>boolean</code> | Support building and running Docker images by enabling Docker-in-Docker (dind) and the required CodeBuild privileged mode. |
5475
+ | <code><a href="#@cloudsnorkel/cdk-github-runners.CodeBuildRunnerProviderProps.property.group">group</a></code> | <code>string</code> | GitHub Actions runner group name. |
5475
5476
  | <code><a href="#@cloudsnorkel/cdk-github-runners.CodeBuildRunnerProviderProps.property.imageBuilder">imageBuilder</a></code> | <code><a href="#@cloudsnorkel/cdk-github-runners.IRunnerImageBuilder">IRunnerImageBuilder</a></code> | Runner image builder used to build Docker images containing GitHub Runner and all requirements. |
5476
5477
  | <code><a href="#@cloudsnorkel/cdk-github-runners.CodeBuildRunnerProviderProps.property.label">label</a></code> | <code>string</code> | GitHub Actions label used for this provider. |
5477
5478
  | <code><a href="#@cloudsnorkel/cdk-github-runners.CodeBuildRunnerProviderProps.property.labels">labels</a></code> | <code>string[]</code> | GitHub Actions labels used for this provider. |
@@ -5543,6 +5544,26 @@ speed up provisioning of CodeBuild runners. If you don't intend on running or bu
5543
5544
 
5544
5545
  ---
5545
5546
 
5547
+ ##### `group`<sup>Optional</sup> <a name="group" id="@cloudsnorkel/cdk-github-runners.CodeBuildRunnerProviderProps.property.group"></a>
5548
+
5549
+ ```typescript
5550
+ public readonly group: string;
5551
+ ```
5552
+
5553
+ - *Type:* string
5554
+ - *Default:* undefined
5555
+
5556
+ GitHub Actions runner group name.
5557
+
5558
+ If specified, the runner will be registered with this group name. Setting a runner group can help managing access to self-hosted runners. It
5559
+ requires a paid GitHub account.
5560
+
5561
+ The group must exist or the runner will not start.
5562
+
5563
+ Users will still be able to trigger this runner with the correct labels. But the runner will only be able to run jobs from repos allowed to use the group.
5564
+
5565
+ ---
5566
+
5546
5567
  ##### `imageBuilder`<sup>Optional</sup> <a name="imageBuilder" id="@cloudsnorkel/cdk-github-runners.CodeBuildRunnerProviderProps.property.imageBuilder"></a>
5547
5568
 
5548
5569
  ```typescript
@@ -5884,6 +5905,7 @@ const ec2RunnerProviderProps: Ec2RunnerProviderProps = { ... }
5884
5905
  | <code><a href="#@cloudsnorkel/cdk-github-runners.Ec2RunnerProviderProps.property.logRetention">logRetention</a></code> | <code>aws-cdk-lib.aws_logs.RetentionDays</code> | The number of days log events are kept in CloudWatch Logs. |
5885
5906
  | <code><a href="#@cloudsnorkel/cdk-github-runners.Ec2RunnerProviderProps.property.retryOptions">retryOptions</a></code> | <code><a href="#@cloudsnorkel/cdk-github-runners.ProviderRetryOptions">ProviderRetryOptions</a></code> | *No description.* |
5886
5907
  | <code><a href="#@cloudsnorkel/cdk-github-runners.Ec2RunnerProviderProps.property.amiBuilder">amiBuilder</a></code> | <code><a href="#@cloudsnorkel/cdk-github-runners.IRunnerImageBuilder">IRunnerImageBuilder</a></code> | *No description.* |
5908
+ | <code><a href="#@cloudsnorkel/cdk-github-runners.Ec2RunnerProviderProps.property.group">group</a></code> | <code>string</code> | GitHub Actions runner group name. |
5887
5909
  | <code><a href="#@cloudsnorkel/cdk-github-runners.Ec2RunnerProviderProps.property.imageBuilder">imageBuilder</a></code> | <code><a href="#@cloudsnorkel/cdk-github-runners.IRunnerImageBuilder">IRunnerImageBuilder</a></code> | Runner image builder used to build AMI containing GitHub Runner and all requirements. |
5888
5910
  | <code><a href="#@cloudsnorkel/cdk-github-runners.Ec2RunnerProviderProps.property.instanceType">instanceType</a></code> | <code>aws-cdk-lib.aws_ec2.InstanceType</code> | Instance type for launched runner instances. |
5889
5911
  | <code><a href="#@cloudsnorkel/cdk-github-runners.Ec2RunnerProviderProps.property.labels">labels</a></code> | <code>string[]</code> | GitHub Actions labels used for this provider. |
@@ -5891,6 +5913,7 @@ const ec2RunnerProviderProps: Ec2RunnerProviderProps = { ... }
5891
5913
  | <code><a href="#@cloudsnorkel/cdk-github-runners.Ec2RunnerProviderProps.property.securityGroups">securityGroups</a></code> | <code>aws-cdk-lib.aws_ec2.ISecurityGroup[]</code> | Security groups to assign to launched runner instances. |
5892
5914
  | <code><a href="#@cloudsnorkel/cdk-github-runners.Ec2RunnerProviderProps.property.spot">spot</a></code> | <code>boolean</code> | Use spot instances to save money. |
5893
5915
  | <code><a href="#@cloudsnorkel/cdk-github-runners.Ec2RunnerProviderProps.property.spotMaxPrice">spotMaxPrice</a></code> | <code>string</code> | Set a maximum price for spot instances. |
5916
+ | <code><a href="#@cloudsnorkel/cdk-github-runners.Ec2RunnerProviderProps.property.storageOptions">storageOptions</a></code> | <code><a href="#@cloudsnorkel/cdk-github-runners.StorageOptions">StorageOptions</a></code> | Options for runner instance storage volume. |
5894
5917
  | <code><a href="#@cloudsnorkel/cdk-github-runners.Ec2RunnerProviderProps.property.storageSize">storageSize</a></code> | <code>aws-cdk-lib.Size</code> | Size of volume available for launched runner instances. |
5895
5918
  | <code><a href="#@cloudsnorkel/cdk-github-runners.Ec2RunnerProviderProps.property.subnet">subnet</a></code> | <code>aws-cdk-lib.aws_ec2.ISubnet</code> | Subnet where the runner instances will be launched. |
5896
5919
  | <code><a href="#@cloudsnorkel/cdk-github-runners.Ec2RunnerProviderProps.property.subnetSelection">subnetSelection</a></code> | <code>aws-cdk-lib.aws_ec2.SubnetSelection</code> | Where to place the network interfaces within the VPC. |
@@ -5939,6 +5962,26 @@ public readonly amiBuilder: IRunnerImageBuilder;
5939
5962
 
5940
5963
  ---
5941
5964
 
5965
+ ##### `group`<sup>Optional</sup> <a name="group" id="@cloudsnorkel/cdk-github-runners.Ec2RunnerProviderProps.property.group"></a>
5966
+
5967
+ ```typescript
5968
+ public readonly group: string;
5969
+ ```
5970
+
5971
+ - *Type:* string
5972
+ - *Default:* undefined
5973
+
5974
+ GitHub Actions runner group name.
5975
+
5976
+ If specified, the runner will be registered with this group name. Setting a runner group can help managing access to self-hosted runners. It
5977
+ requires a paid GitHub account.
5978
+
5979
+ The group must exist or the runner will not start.
5980
+
5981
+ Users will still be able to trigger this runner with the correct labels. But the runner will only be able to run jobs from repos allowed to use the group.
5982
+
5983
+ ---
5984
+
5942
5985
  ##### `imageBuilder`<sup>Optional</sup> <a name="imageBuilder" id="@cloudsnorkel/cdk-github-runners.Ec2RunnerProviderProps.property.imageBuilder"></a>
5943
5986
 
5944
5987
  ```typescript
@@ -6040,6 +6083,18 @@ Set a maximum price for spot instances.
6040
6083
 
6041
6084
  ---
6042
6085
 
6086
+ ##### `storageOptions`<sup>Optional</sup> <a name="storageOptions" id="@cloudsnorkel/cdk-github-runners.Ec2RunnerProviderProps.property.storageOptions"></a>
6087
+
6088
+ ```typescript
6089
+ public readonly storageOptions: StorageOptions;
6090
+ ```
6091
+
6092
+ - *Type:* <a href="#@cloudsnorkel/cdk-github-runners.StorageOptions">StorageOptions</a>
6093
+
6094
+ Options for runner instance storage volume.
6095
+
6096
+ ---
6097
+
6043
6098
  ##### `storageSize`<sup>Optional</sup> <a name="storageSize" id="@cloudsnorkel/cdk-github-runners.Ec2RunnerProviderProps.property.storageSize"></a>
6044
6099
 
6045
6100
  ```typescript
@@ -6121,6 +6176,7 @@ const ecsRunnerProviderProps: EcsRunnerProviderProps = { ... }
6121
6176
  | <code><a href="#@cloudsnorkel/cdk-github-runners.EcsRunnerProviderProps.property.cluster">cluster</a></code> | <code>aws-cdk-lib.aws_ecs.Cluster</code> | Existing ECS cluster to use. |
6122
6177
  | <code><a href="#@cloudsnorkel/cdk-github-runners.EcsRunnerProviderProps.property.cpu">cpu</a></code> | <code>number</code> | The number of cpu units used by the task. |
6123
6178
  | <code><a href="#@cloudsnorkel/cdk-github-runners.EcsRunnerProviderProps.property.dockerInDocker">dockerInDocker</a></code> | <code>boolean</code> | Support building and running Docker images by enabling Docker-in-Docker (dind) and the required CodeBuild privileged mode. |
6179
+ | <code><a href="#@cloudsnorkel/cdk-github-runners.EcsRunnerProviderProps.property.group">group</a></code> | <code>string</code> | GitHub Actions runner group name. |
6124
6180
  | <code><a href="#@cloudsnorkel/cdk-github-runners.EcsRunnerProviderProps.property.imageBuilder">imageBuilder</a></code> | <code><a href="#@cloudsnorkel/cdk-github-runners.IRunnerImageBuilder">IRunnerImageBuilder</a></code> | Runner image builder used to build Docker images containing GitHub Runner and all requirements. |
6125
6181
  | <code><a href="#@cloudsnorkel/cdk-github-runners.EcsRunnerProviderProps.property.instanceType">instanceType</a></code> | <code>aws-cdk-lib.aws_ec2.InstanceType</code> | Instance type of ECS cluster instances. |
6126
6182
  | <code><a href="#@cloudsnorkel/cdk-github-runners.EcsRunnerProviderProps.property.labels">labels</a></code> | <code>string[]</code> | GitHub Actions labels used for this provider. |
@@ -6131,6 +6187,7 @@ const ecsRunnerProviderProps: EcsRunnerProviderProps = { ... }
6131
6187
  | <code><a href="#@cloudsnorkel/cdk-github-runners.EcsRunnerProviderProps.property.securityGroups">securityGroups</a></code> | <code>aws-cdk-lib.aws_ec2.ISecurityGroup[]</code> | Security groups to assign to the task. |
6132
6188
  | <code><a href="#@cloudsnorkel/cdk-github-runners.EcsRunnerProviderProps.property.spot">spot</a></code> | <code>boolean</code> | Use spot capacity. |
6133
6189
  | <code><a href="#@cloudsnorkel/cdk-github-runners.EcsRunnerProviderProps.property.spotMaxPrice">spotMaxPrice</a></code> | <code>string</code> | Maximum price for spot instances. |
6190
+ | <code><a href="#@cloudsnorkel/cdk-github-runners.EcsRunnerProviderProps.property.storageOptions">storageOptions</a></code> | <code><a href="#@cloudsnorkel/cdk-github-runners.StorageOptions">StorageOptions</a></code> | Options for runner instance storage volume. |
6134
6191
  | <code><a href="#@cloudsnorkel/cdk-github-runners.EcsRunnerProviderProps.property.storageSize">storageSize</a></code> | <code>aws-cdk-lib.Size</code> | Size of volume available for launched cluster instances. |
6135
6192
  | <code><a href="#@cloudsnorkel/cdk-github-runners.EcsRunnerProviderProps.property.subnetSelection">subnetSelection</a></code> | <code>aws-cdk-lib.aws_ec2.SubnetSelection</code> | Subnets to run the runners in. |
6136
6193
  | <code><a href="#@cloudsnorkel/cdk-github-runners.EcsRunnerProviderProps.property.vpc">vpc</a></code> | <code>aws-cdk-lib.aws_ec2.IVpc</code> | VPC to launch the runners in. |
@@ -6240,6 +6297,26 @@ speed up provisioning of CodeBuild runners. If you don't intend on running or bu
6240
6297
 
6241
6298
  ---
6242
6299
 
6300
+ ##### `group`<sup>Optional</sup> <a name="group" id="@cloudsnorkel/cdk-github-runners.EcsRunnerProviderProps.property.group"></a>
6301
+
6302
+ ```typescript
6303
+ public readonly group: string;
6304
+ ```
6305
+
6306
+ - *Type:* string
6307
+ - *Default:* undefined
6308
+
6309
+ GitHub Actions runner group name.
6310
+
6311
+ If specified, the runner will be registered with this group name. Setting a runner group can help managing access to self-hosted runners. It
6312
+ requires a paid GitHub account.
6313
+
6314
+ The group must exist or the runner will not start.
6315
+
6316
+ Users will still be able to trigger this runner with the correct labels. But the runner will only be able to run jobs from repos allowed to use the group.
6317
+
6318
+ ---
6319
+
6243
6320
  ##### `imageBuilder`<sup>Optional</sup> <a name="imageBuilder" id="@cloudsnorkel/cdk-github-runners.EcsRunnerProviderProps.property.imageBuilder"></a>
6244
6321
 
6245
6322
  ```typescript
@@ -6381,6 +6458,18 @@ Maximum price for spot instances.
6381
6458
 
6382
6459
  ---
6383
6460
 
6461
+ ##### `storageOptions`<sup>Optional</sup> <a name="storageOptions" id="@cloudsnorkel/cdk-github-runners.EcsRunnerProviderProps.property.storageOptions"></a>
6462
+
6463
+ ```typescript
6464
+ public readonly storageOptions: StorageOptions;
6465
+ ```
6466
+
6467
+ - *Type:* <a href="#@cloudsnorkel/cdk-github-runners.StorageOptions">StorageOptions</a>
6468
+
6469
+ Options for runner instance storage volume.
6470
+
6471
+ ---
6472
+
6384
6473
  ##### `storageSize`<sup>Optional</sup> <a name="storageSize" id="@cloudsnorkel/cdk-github-runners.EcsRunnerProviderProps.property.storageSize"></a>
6385
6474
 
6386
6475
  ```typescript
@@ -6446,6 +6535,7 @@ const fargateRunnerProviderProps: FargateRunnerProviderProps = { ... }
6446
6535
  | <code><a href="#@cloudsnorkel/cdk-github-runners.FargateRunnerProviderProps.property.cluster">cluster</a></code> | <code>aws-cdk-lib.aws_ecs.Cluster</code> | Existing Fargate cluster to use. |
6447
6536
  | <code><a href="#@cloudsnorkel/cdk-github-runners.FargateRunnerProviderProps.property.cpu">cpu</a></code> | <code>number</code> | The number of cpu units used by the task. |
6448
6537
  | <code><a href="#@cloudsnorkel/cdk-github-runners.FargateRunnerProviderProps.property.ephemeralStorageGiB">ephemeralStorageGiB</a></code> | <code>number</code> | The amount (in GiB) of ephemeral storage to be allocated to the task. |
6538
+ | <code><a href="#@cloudsnorkel/cdk-github-runners.FargateRunnerProviderProps.property.group">group</a></code> | <code>string</code> | GitHub Actions runner group name. |
6449
6539
  | <code><a href="#@cloudsnorkel/cdk-github-runners.FargateRunnerProviderProps.property.imageBuilder">imageBuilder</a></code> | <code><a href="#@cloudsnorkel/cdk-github-runners.IRunnerImageBuilder">IRunnerImageBuilder</a></code> | Runner image builder used to build Docker images containing GitHub Runner and all requirements. |
6450
6540
  | <code><a href="#@cloudsnorkel/cdk-github-runners.FargateRunnerProviderProps.property.label">label</a></code> | <code>string</code> | GitHub Actions label used for this provider. |
6451
6541
  | <code><a href="#@cloudsnorkel/cdk-github-runners.FargateRunnerProviderProps.property.labels">labels</a></code> | <code>string[]</code> | GitHub Actions labels used for this provider. |
@@ -6559,6 +6649,26 @@ NOTE: This parameter is only supported for tasks hosted on AWS Fargate using pla
6559
6649
 
6560
6650
  ---
6561
6651
 
6652
+ ##### `group`<sup>Optional</sup> <a name="group" id="@cloudsnorkel/cdk-github-runners.FargateRunnerProviderProps.property.group"></a>
6653
+
6654
+ ```typescript
6655
+ public readonly group: string;
6656
+ ```
6657
+
6658
+ - *Type:* string
6659
+ - *Default:* undefined
6660
+
6661
+ GitHub Actions runner group name.
6662
+
6663
+ If specified, the runner will be registered with this group name. Setting a runner group can help managing access to self-hosted runners. It
6664
+ requires a paid GitHub account.
6665
+
6666
+ The group must exist or the runner will not start.
6667
+
6668
+ Users will still be able to trigger this runner with the correct labels. But the runner will only be able to run jobs from repos allowed to use the group.
6669
+
6670
+ ---
6671
+
6562
6672
  ##### `imageBuilder`<sup>Optional</sup> <a name="imageBuilder" id="@cloudsnorkel/cdk-github-runners.FargateRunnerProviderProps.property.imageBuilder"></a>
6563
6673
 
6564
6674
  ```typescript
@@ -7204,6 +7314,7 @@ const lambdaRunnerProviderProps: LambdaRunnerProviderProps = { ... }
7204
7314
  | <code><a href="#@cloudsnorkel/cdk-github-runners.LambdaRunnerProviderProps.property.logRetention">logRetention</a></code> | <code>aws-cdk-lib.aws_logs.RetentionDays</code> | The number of days log events are kept in CloudWatch Logs. |
7205
7315
  | <code><a href="#@cloudsnorkel/cdk-github-runners.LambdaRunnerProviderProps.property.retryOptions">retryOptions</a></code> | <code><a href="#@cloudsnorkel/cdk-github-runners.ProviderRetryOptions">ProviderRetryOptions</a></code> | *No description.* |
7206
7316
  | <code><a href="#@cloudsnorkel/cdk-github-runners.LambdaRunnerProviderProps.property.ephemeralStorageSize">ephemeralStorageSize</a></code> | <code>aws-cdk-lib.Size</code> | The size of the function’s /tmp directory in MiB. |
7317
+ | <code><a href="#@cloudsnorkel/cdk-github-runners.LambdaRunnerProviderProps.property.group">group</a></code> | <code>string</code> | GitHub Actions runner group name. |
7207
7318
  | <code><a href="#@cloudsnorkel/cdk-github-runners.LambdaRunnerProviderProps.property.imageBuilder">imageBuilder</a></code> | <code><a href="#@cloudsnorkel/cdk-github-runners.IRunnerImageBuilder">IRunnerImageBuilder</a></code> | Runner image builder used to build Docker images containing GitHub Runner and all requirements. |
7208
7319
  | <code><a href="#@cloudsnorkel/cdk-github-runners.LambdaRunnerProviderProps.property.label">label</a></code> | <code>string</code> | GitHub Actions label used for this provider. |
7209
7320
  | <code><a href="#@cloudsnorkel/cdk-github-runners.LambdaRunnerProviderProps.property.labels">labels</a></code> | <code>string[]</code> | GitHub Actions labels used for this provider. |
@@ -7258,6 +7369,26 @@ The size of the function’s /tmp directory in MiB.
7258
7369
 
7259
7370
  ---
7260
7371
 
7372
+ ##### `group`<sup>Optional</sup> <a name="group" id="@cloudsnorkel/cdk-github-runners.LambdaRunnerProviderProps.property.group"></a>
7373
+
7374
+ ```typescript
7375
+ public readonly group: string;
7376
+ ```
7377
+
7378
+ - *Type:* string
7379
+ - *Default:* undefined
7380
+
7381
+ GitHub Actions runner group name.
7382
+
7383
+ If specified, the runner will be registered with this group name. Setting a runner group can help managing access to self-hosted runners. It
7384
+ requires a paid GitHub account.
7385
+
7386
+ The group must exist or the runner will not start.
7387
+
7388
+ Users will still be able to trigger this runner with the correct labels. But the runner will only be able to run jobs from repos allowed to use the group.
7389
+
7390
+ ---
7391
+
7261
7392
  ##### `imageBuilder`<sup>Optional</sup> <a name="imageBuilder" id="@cloudsnorkel/cdk-github-runners.LambdaRunnerProviderProps.property.imageBuilder"></a>
7262
7393
 
7263
7394
  ```typescript
@@ -8295,6 +8426,78 @@ Path to runner token used to register token.
8295
8426
 
8296
8427
  ---
8297
8428
 
8429
+ ### StorageOptions <a name="StorageOptions" id="@cloudsnorkel/cdk-github-runners.StorageOptions"></a>
8430
+
8431
+ Storage options for the runner instance.
8432
+
8433
+ #### Initializer <a name="Initializer" id="@cloudsnorkel/cdk-github-runners.StorageOptions.Initializer"></a>
8434
+
8435
+ ```typescript
8436
+ import { StorageOptions } from '@cloudsnorkel/cdk-github-runners'
8437
+
8438
+ const storageOptions: StorageOptions = { ... }
8439
+ ```
8440
+
8441
+ #### Properties <a name="Properties" id="Properties"></a>
8442
+
8443
+ | **Name** | **Type** | **Description** |
8444
+ | --- | --- | --- |
8445
+ | <code><a href="#@cloudsnorkel/cdk-github-runners.StorageOptions.property.iops">iops</a></code> | <code>number</code> | The number of I/O operations per second (IOPS) to provision for the volume. |
8446
+ | <code><a href="#@cloudsnorkel/cdk-github-runners.StorageOptions.property.throughput">throughput</a></code> | <code>number</code> | The throughput that the volume supports, in MiB/s Takes a minimum of 125 and maximum of 1000. |
8447
+ | <code><a href="#@cloudsnorkel/cdk-github-runners.StorageOptions.property.volumeType">volumeType</a></code> | <code>aws-cdk-lib.aws_ec2.EbsDeviceVolumeType</code> | The EBS volume type. |
8448
+
8449
+ ---
8450
+
8451
+ ##### `iops`<sup>Optional</sup> <a name="iops" id="@cloudsnorkel/cdk-github-runners.StorageOptions.property.iops"></a>
8452
+
8453
+ ```typescript
8454
+ public readonly iops: number;
8455
+ ```
8456
+
8457
+ - *Type:* number
8458
+ - *Default:* none, required for `EbsDeviceVolumeType.IO1`
8459
+
8460
+ The number of I/O operations per second (IOPS) to provision for the volume.
8461
+
8462
+ Must only be set for `volumeType`: `EbsDeviceVolumeType.IO1`
8463
+
8464
+ The maximum ratio of IOPS to volume size (in GiB) is 50:1, so for 5,000 provisioned IOPS,
8465
+ you need at least 100 GiB storage on the volume.
8466
+
8467
+ > [https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html)
8468
+
8469
+ ---
8470
+
8471
+ ##### `throughput`<sup>Optional</sup> <a name="throughput" id="@cloudsnorkel/cdk-github-runners.StorageOptions.property.throughput"></a>
8472
+
8473
+ ```typescript
8474
+ public readonly throughput: number;
8475
+ ```
8476
+
8477
+ - *Type:* number
8478
+ - *Default:* 125 MiB/s. Only valid on gp3 volumes.
8479
+
8480
+ The throughput that the volume supports, in MiB/s Takes a minimum of 125 and maximum of 1000.
8481
+
8482
+ > [https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-volume.html#cfn-ec2-volume-throughput](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-volume.html#cfn-ec2-volume-throughput)
8483
+
8484
+ ---
8485
+
8486
+ ##### `volumeType`<sup>Optional</sup> <a name="volumeType" id="@cloudsnorkel/cdk-github-runners.StorageOptions.property.volumeType"></a>
8487
+
8488
+ ```typescript
8489
+ public readonly volumeType: EbsDeviceVolumeType;
8490
+ ```
8491
+
8492
+ - *Type:* aws-cdk-lib.aws_ec2.EbsDeviceVolumeType
8493
+ - *Default:* `EbsDeviceVolumeType.GP2`
8494
+
8495
+ The EBS volume type.
8496
+
8497
+ > [https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html)
8498
+
8499
+ ---
8500
+
8298
8501
  ## Classes <a name="Classes" id="Classes"></a>
8299
8502
 
8300
8503
  ### Architecture <a name="Architecture" id="@cloudsnorkel/cdk-github-runners.Architecture"></a>
@@ -16,6 +16,7 @@ RUNNER_TOKEN=$(echo "$1" | jq -r .token)
16
16
  RUNNER_NAME=$(echo "$1" | jq -r .runnerName)
17
17
  RUNNER_LABEL=$(echo "$1" | jq -r .label)
18
18
  REGISTRATION_URL=$(echo "$1" | jq -r .registrationUrl)
19
+ RUNNER_GROUP=$(echo "$1" | jq -r .group)
19
20
 
20
21
  # copy runner code (it needs a writable directory)
21
22
  cp -r /home/runner /tmp/
@@ -27,7 +28,7 @@ export HOME=/tmp/home
27
28
 
28
29
  # start runner
29
30
  if [ "${RUNNER_VERSION}" = "latest" ]; then RUNNER_FLAGS=""; else RUNNER_FLAGS="--disableupdate"; fi
30
- ./config.sh --unattended --url "${REGISTRATION_URL}" --token "${RUNNER_TOKEN}" --ephemeral --work _work --labels "${RUNNER_LABEL},cdkghr:started:`date +%s`" --name "${RUNNER_NAME}" ${RUNNER_FLAGS}
31
+ ./config.sh --unattended --url "${REGISTRATION_URL}" --token "${RUNNER_TOKEN}" --ephemeral --work _work --labels "${RUNNER_LABEL},cdkghr:started:`date +%s`" --name "${RUNNER_NAME}" ${RUNNER_FLAGS} ${RUNNER_GROUP}
31
32
  echo Config done
32
33
  ./run.sh
33
34
  echo Run done