@cloudsnorkel/cdk-github-runners 0.14.3 → 0.14.4

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
@@ -5891,6 +5891,7 @@ const ec2RunnerProviderProps: Ec2RunnerProviderProps = { ... }
5891
5891
  | <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
5892
  | <code><a href="#@cloudsnorkel/cdk-github-runners.Ec2RunnerProviderProps.property.spot">spot</a></code> | <code>boolean</code> | Use spot instances to save money. |
5893
5893
  | <code><a href="#@cloudsnorkel/cdk-github-runners.Ec2RunnerProviderProps.property.spotMaxPrice">spotMaxPrice</a></code> | <code>string</code> | Set a maximum price for spot instances. |
5894
+ | <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
5895
  | <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
5896
  | <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
5897
  | <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. |
@@ -6040,6 +6041,18 @@ Set a maximum price for spot instances.
6040
6041
 
6041
6042
  ---
6042
6043
 
6044
+ ##### `storageOptions`<sup>Optional</sup> <a name="storageOptions" id="@cloudsnorkel/cdk-github-runners.Ec2RunnerProviderProps.property.storageOptions"></a>
6045
+
6046
+ ```typescript
6047
+ public readonly storageOptions: StorageOptions;
6048
+ ```
6049
+
6050
+ - *Type:* <a href="#@cloudsnorkel/cdk-github-runners.StorageOptions">StorageOptions</a>
6051
+
6052
+ Options for runner instance storage volume.
6053
+
6054
+ ---
6055
+
6043
6056
  ##### `storageSize`<sup>Optional</sup> <a name="storageSize" id="@cloudsnorkel/cdk-github-runners.Ec2RunnerProviderProps.property.storageSize"></a>
6044
6057
 
6045
6058
  ```typescript
@@ -6131,6 +6144,7 @@ const ecsRunnerProviderProps: EcsRunnerProviderProps = { ... }
6131
6144
  | <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
6145
  | <code><a href="#@cloudsnorkel/cdk-github-runners.EcsRunnerProviderProps.property.spot">spot</a></code> | <code>boolean</code> | Use spot capacity. |
6133
6146
  | <code><a href="#@cloudsnorkel/cdk-github-runners.EcsRunnerProviderProps.property.spotMaxPrice">spotMaxPrice</a></code> | <code>string</code> | Maximum price for spot instances. |
6147
+ | <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
6148
  | <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
6149
  | <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
6150
  | <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. |
@@ -6381,6 +6395,18 @@ Maximum price for spot instances.
6381
6395
 
6382
6396
  ---
6383
6397
 
6398
+ ##### `storageOptions`<sup>Optional</sup> <a name="storageOptions" id="@cloudsnorkel/cdk-github-runners.EcsRunnerProviderProps.property.storageOptions"></a>
6399
+
6400
+ ```typescript
6401
+ public readonly storageOptions: StorageOptions;
6402
+ ```
6403
+
6404
+ - *Type:* <a href="#@cloudsnorkel/cdk-github-runners.StorageOptions">StorageOptions</a>
6405
+
6406
+ Options for runner instance storage volume.
6407
+
6408
+ ---
6409
+
6384
6410
  ##### `storageSize`<sup>Optional</sup> <a name="storageSize" id="@cloudsnorkel/cdk-github-runners.EcsRunnerProviderProps.property.storageSize"></a>
6385
6411
 
6386
6412
  ```typescript
@@ -8295,6 +8321,78 @@ Path to runner token used to register token.
8295
8321
 
8296
8322
  ---
8297
8323
 
8324
+ ### StorageOptions <a name="StorageOptions" id="@cloudsnorkel/cdk-github-runners.StorageOptions"></a>
8325
+
8326
+ Storage options for the runner instance.
8327
+
8328
+ #### Initializer <a name="Initializer" id="@cloudsnorkel/cdk-github-runners.StorageOptions.Initializer"></a>
8329
+
8330
+ ```typescript
8331
+ import { StorageOptions } from '@cloudsnorkel/cdk-github-runners'
8332
+
8333
+ const storageOptions: StorageOptions = { ... }
8334
+ ```
8335
+
8336
+ #### Properties <a name="Properties" id="Properties"></a>
8337
+
8338
+ | **Name** | **Type** | **Description** |
8339
+ | --- | --- | --- |
8340
+ | <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. |
8341
+ | <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. |
8342
+ | <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. |
8343
+
8344
+ ---
8345
+
8346
+ ##### `iops`<sup>Optional</sup> <a name="iops" id="@cloudsnorkel/cdk-github-runners.StorageOptions.property.iops"></a>
8347
+
8348
+ ```typescript
8349
+ public readonly iops: number;
8350
+ ```
8351
+
8352
+ - *Type:* number
8353
+ - *Default:* none, required for `EbsDeviceVolumeType.IO1`
8354
+
8355
+ The number of I/O operations per second (IOPS) to provision for the volume.
8356
+
8357
+ Must only be set for `volumeType`: `EbsDeviceVolumeType.IO1`
8358
+
8359
+ The maximum ratio of IOPS to volume size (in GiB) is 50:1, so for 5,000 provisioned IOPS,
8360
+ you need at least 100 GiB storage on the volume.
8361
+
8362
+ > [https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html)
8363
+
8364
+ ---
8365
+
8366
+ ##### `throughput`<sup>Optional</sup> <a name="throughput" id="@cloudsnorkel/cdk-github-runners.StorageOptions.property.throughput"></a>
8367
+
8368
+ ```typescript
8369
+ public readonly throughput: number;
8370
+ ```
8371
+
8372
+ - *Type:* number
8373
+ - *Default:* 125 MiB/s. Only valid on gp3 volumes.
8374
+
8375
+ The throughput that the volume supports, in MiB/s Takes a minimum of 125 and maximum of 1000.
8376
+
8377
+ > [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)
8378
+
8379
+ ---
8380
+
8381
+ ##### `volumeType`<sup>Optional</sup> <a name="volumeType" id="@cloudsnorkel/cdk-github-runners.StorageOptions.property.volumeType"></a>
8382
+
8383
+ ```typescript
8384
+ public readonly volumeType: EbsDeviceVolumeType;
8385
+ ```
8386
+
8387
+ - *Type:* aws-cdk-lib.aws_ec2.EbsDeviceVolumeType
8388
+ - *Default:* `EbsDeviceVolumeType.GP2`
8389
+
8390
+ The EBS volume type.
8391
+
8392
+ > [https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html)
8393
+
8394
+ ---
8395
+
8298
8396
  ## Classes <a name="Classes" id="Classes"></a>
8299
8397
 
8300
8398
  ### Architecture <a name="Architecture" id="@cloudsnorkel/cdk-github-runners.Architecture"></a>