cloudsnorkel.cdk-github-runners 0.14.3__py3-none-any.whl → 0.14.5__py3-none-any.whl

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.

Potentially problematic release.


This version of cloudsnorkel.cdk-github-runners might be problematic. Click here for more details.

@@ -3489,6 +3489,7 @@ class LambdaRunnerProvider(
3489
3489
  id: builtins.str,
3490
3490
  *,
3491
3491
  ephemeral_storage_size: typing.Optional[_aws_cdk_ceddda9d.Size] = None,
3492
+ group: typing.Optional[builtins.str] = None,
3492
3493
  image_builder: typing.Optional[IRunnerImageBuilder] = None,
3493
3494
  label: typing.Optional[builtins.str] = None,
3494
3495
  labels: typing.Optional[typing.Sequence[builtins.str]] = None,
@@ -3505,6 +3506,7 @@ class LambdaRunnerProvider(
3505
3506
  :param scope: -
3506
3507
  :param id: -
3507
3508
  :param ephemeral_storage_size: (experimental) The size of the function’s /tmp directory in MiB. Default: 10 GiB
3509
+ :param group: (experimental) GitHub Actions runner group name. If specified, the runner will be registered with this group name. Setting a runner group can help managing access to self-hosted runners. It requires a paid GitHub account. The group must exist or the runner will not start. 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. Default: undefined
3508
3510
  :param image_builder: (experimental) Runner image builder used to build Docker images containing GitHub Runner and all requirements. The image builder must contain the {@link RunnerImageComponent.lambdaEntrypoint} component. The image builder determines the OS and architecture of the runner. Default: LambdaRunnerProvider.imageBuilder()
3509
3511
  :param label: (deprecated) GitHub Actions label used for this provider. Default: undefined
3510
3512
  :param labels: (experimental) GitHub Actions labels used for this provider. These labels are used to identify which provider should spawn a new on-demand runner. Every job sends a webhook with the labels it's looking for based on runs-on. We match the labels from the webhook with the labels specified here. If all the labels specified here are present in the job's labels, this provider will be chosen and spawn a new runner. Default: ['lambda']
@@ -3525,6 +3527,7 @@ class LambdaRunnerProvider(
3525
3527
  check_type(argname="argument id", value=id, expected_type=type_hints["id"])
3526
3528
  props = LambdaRunnerProviderProps(
3527
3529
  ephemeral_storage_size=ephemeral_storage_size,
3530
+ group=group,
3528
3531
  image_builder=image_builder,
3529
3532
  label=label,
3530
3533
  labels=labels,
@@ -5818,6 +5821,99 @@ class StaticRunnerImage(
5818
5821
  return typing.cast(IRunnerImageBuilder, jsii.sinvoke(cls, "fromEcrRepository", [repository, tag, architecture, os]))
5819
5822
 
5820
5823
 
5824
+ @jsii.data_type(
5825
+ jsii_type="@cloudsnorkel/cdk-github-runners.StorageOptions",
5826
+ jsii_struct_bases=[],
5827
+ name_mapping={
5828
+ "iops": "iops",
5829
+ "throughput": "throughput",
5830
+ "volume_type": "volumeType",
5831
+ },
5832
+ )
5833
+ class StorageOptions:
5834
+ def __init__(
5835
+ self,
5836
+ *,
5837
+ iops: typing.Optional[jsii.Number] = None,
5838
+ throughput: typing.Optional[jsii.Number] = None,
5839
+ volume_type: typing.Optional[_aws_cdk_aws_ec2_ceddda9d.EbsDeviceVolumeType] = None,
5840
+ ) -> None:
5841
+ '''(experimental) Storage options for the runner instance.
5842
+
5843
+ :param iops: (experimental) The number of I/O operations per second (IOPS) to provision for the volume. Must only be set for ``volumeType``: ``EbsDeviceVolumeType.IO1`` The maximum ratio of IOPS to volume size (in GiB) is 50:1, so for 5,000 provisioned IOPS, you need at least 100 GiB storage on the volume. Default: - none, required for ``EbsDeviceVolumeType.IO1``
5844
+ :param throughput: (experimental) The throughput that the volume supports, in MiB/s Takes a minimum of 125 and maximum of 1000. Default: - 125 MiB/s. Only valid on gp3 volumes.
5845
+ :param volume_type: (experimental) The EBS volume type. Default: ``EbsDeviceVolumeType.GP2``
5846
+
5847
+ :stability: experimental
5848
+ '''
5849
+ if __debug__:
5850
+ type_hints = typing.get_type_hints(_typecheckingstub__ec3b766929d3a048d89c7dc502f77bbbfc7357735093ebc66695a13b92f9bf82)
5851
+ check_type(argname="argument iops", value=iops, expected_type=type_hints["iops"])
5852
+ check_type(argname="argument throughput", value=throughput, expected_type=type_hints["throughput"])
5853
+ check_type(argname="argument volume_type", value=volume_type, expected_type=type_hints["volume_type"])
5854
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
5855
+ if iops is not None:
5856
+ self._values["iops"] = iops
5857
+ if throughput is not None:
5858
+ self._values["throughput"] = throughput
5859
+ if volume_type is not None:
5860
+ self._values["volume_type"] = volume_type
5861
+
5862
+ @builtins.property
5863
+ def iops(self) -> typing.Optional[jsii.Number]:
5864
+ '''(experimental) The number of I/O operations per second (IOPS) to provision for the volume.
5865
+
5866
+ Must only be set for ``volumeType``: ``EbsDeviceVolumeType.IO1``
5867
+
5868
+ The maximum ratio of IOPS to volume size (in GiB) is 50:1, so for 5,000 provisioned IOPS,
5869
+ you need at least 100 GiB storage on the volume.
5870
+
5871
+ :default: - none, required for ``EbsDeviceVolumeType.IO1``
5872
+
5873
+ :see: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html
5874
+ :stability: experimental
5875
+ '''
5876
+ result = self._values.get("iops")
5877
+ return typing.cast(typing.Optional[jsii.Number], result)
5878
+
5879
+ @builtins.property
5880
+ def throughput(self) -> typing.Optional[jsii.Number]:
5881
+ '''(experimental) The throughput that the volume supports, in MiB/s Takes a minimum of 125 and maximum of 1000.
5882
+
5883
+ :default: - 125 MiB/s. Only valid on gp3 volumes.
5884
+
5885
+ :see: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-volume.html#cfn-ec2-volume-throughput
5886
+ :stability: experimental
5887
+ '''
5888
+ result = self._values.get("throughput")
5889
+ return typing.cast(typing.Optional[jsii.Number], result)
5890
+
5891
+ @builtins.property
5892
+ def volume_type(
5893
+ self,
5894
+ ) -> typing.Optional[_aws_cdk_aws_ec2_ceddda9d.EbsDeviceVolumeType]:
5895
+ '''(experimental) The EBS volume type.
5896
+
5897
+ :default: ``EbsDeviceVolumeType.GP2``
5898
+
5899
+ :see: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html
5900
+ :stability: experimental
5901
+ '''
5902
+ result = self._values.get("volume_type")
5903
+ return typing.cast(typing.Optional[_aws_cdk_aws_ec2_ceddda9d.EbsDeviceVolumeType], result)
5904
+
5905
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
5906
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
5907
+
5908
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
5909
+ return not (rhs == self)
5910
+
5911
+ def __repr__(self) -> str:
5912
+ return "StorageOptions(%s)" % ", ".join(
5913
+ k + "=" + repr(v) for k, v in self._values.items()
5914
+ )
5915
+
5916
+
5821
5917
  class WindowsComponents(
5822
5918
  metaclass=jsii.JSIIMeta,
5823
5919
  jsii_type="@cloudsnorkel/cdk-github-runners.WindowsComponents",
@@ -6526,6 +6622,7 @@ class CodeBuildRunnerProvider(
6526
6622
  *,
6527
6623
  compute_type: typing.Optional[_aws_cdk_aws_codebuild_ceddda9d.ComputeType] = None,
6528
6624
  docker_in_docker: typing.Optional[builtins.bool] = None,
6625
+ group: typing.Optional[builtins.str] = None,
6529
6626
  image_builder: typing.Optional[IRunnerImageBuilder] = None,
6530
6627
  label: typing.Optional[builtins.str] = None,
6531
6628
  labels: typing.Optional[typing.Sequence[builtins.str]] = None,
@@ -6542,6 +6639,7 @@ class CodeBuildRunnerProvider(
6542
6639
  :param id: -
6543
6640
  :param compute_type: (experimental) The type of compute to use for this build. See the {@link ComputeType} enum for the possible values. Default: {@link ComputeType#SMALL }
6544
6641
  :param docker_in_docker: (experimental) Support building and running Docker images by enabling Docker-in-Docker (dind) and the required CodeBuild privileged mode. Disabling this can speed up provisioning of CodeBuild runners. If you don't intend on running or building Docker images, disable this for faster start-up times. Default: true
6642
+ :param group: (experimental) GitHub Actions runner group name. If specified, the runner will be registered with this group name. Setting a runner group can help managing access to self-hosted runners. It requires a paid GitHub account. The group must exist or the runner will not start. 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. Default: undefined
6545
6643
  :param image_builder: (experimental) Runner image builder used to build Docker images containing GitHub Runner and all requirements. The image builder must contain the {@link RunnerImageComponent.docker} component unless ``dockerInDocker`` is set to false. The image builder determines the OS and architecture of the runner. Default: CodeBuildRunnerProvider.imageBuilder()
6546
6644
  :param label: (deprecated) GitHub Actions label used for this provider. Default: undefined
6547
6645
  :param labels: (experimental) GitHub Actions labels used for this provider. These labels are used to identify which provider should spawn a new on-demand runner. Every job sends a webhook with the labels it's looking for based on runs-on. We match the labels from the webhook with the labels specified here. If all the labels specified here are present in the job's labels, this provider will be chosen and spawn a new runner. Default: ['codebuild']
@@ -6562,6 +6660,7 @@ class CodeBuildRunnerProvider(
6562
6660
  props = CodeBuildRunnerProviderProps(
6563
6661
  compute_type=compute_type,
6564
6662
  docker_in_docker=docker_in_docker,
6663
+ group=group,
6565
6664
  image_builder=image_builder,
6566
6665
  label=label,
6567
6666
  labels=labels,
@@ -6877,6 +6976,7 @@ class CodeBuildRunnerProvider(
6877
6976
  "retry_options": "retryOptions",
6878
6977
  "compute_type": "computeType",
6879
6978
  "docker_in_docker": "dockerInDocker",
6979
+ "group": "group",
6880
6980
  "image_builder": "imageBuilder",
6881
6981
  "label": "label",
6882
6982
  "labels": "labels",
@@ -6895,6 +6995,7 @@ class CodeBuildRunnerProviderProps(RunnerProviderProps):
6895
6995
  retry_options: typing.Optional[typing.Union[ProviderRetryOptions, typing.Dict[builtins.str, typing.Any]]] = None,
6896
6996
  compute_type: typing.Optional[_aws_cdk_aws_codebuild_ceddda9d.ComputeType] = None,
6897
6997
  docker_in_docker: typing.Optional[builtins.bool] = None,
6998
+ group: typing.Optional[builtins.str] = None,
6898
6999
  image_builder: typing.Optional[IRunnerImageBuilder] = None,
6899
7000
  label: typing.Optional[builtins.str] = None,
6900
7001
  labels: typing.Optional[typing.Sequence[builtins.str]] = None,
@@ -6909,6 +7010,7 @@ class CodeBuildRunnerProviderProps(RunnerProviderProps):
6909
7010
  :param retry_options:
6910
7011
  :param compute_type: (experimental) The type of compute to use for this build. See the {@link ComputeType} enum for the possible values. Default: {@link ComputeType#SMALL }
6911
7012
  :param docker_in_docker: (experimental) Support building and running Docker images by enabling Docker-in-Docker (dind) and the required CodeBuild privileged mode. Disabling this can speed up provisioning of CodeBuild runners. If you don't intend on running or building Docker images, disable this for faster start-up times. Default: true
7013
+ :param group: (experimental) GitHub Actions runner group name. If specified, the runner will be registered with this group name. Setting a runner group can help managing access to self-hosted runners. It requires a paid GitHub account. The group must exist or the runner will not start. 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. Default: undefined
6912
7014
  :param image_builder: (experimental) Runner image builder used to build Docker images containing GitHub Runner and all requirements. The image builder must contain the {@link RunnerImageComponent.docker} component unless ``dockerInDocker`` is set to false. The image builder determines the OS and architecture of the runner. Default: CodeBuildRunnerProvider.imageBuilder()
6913
7015
  :param label: (deprecated) GitHub Actions label used for this provider. Default: undefined
6914
7016
  :param labels: (experimental) GitHub Actions labels used for this provider. These labels are used to identify which provider should spawn a new on-demand runner. Every job sends a webhook with the labels it's looking for based on runs-on. We match the labels from the webhook with the labels specified here. If all the labels specified here are present in the job's labels, this provider will be chosen and spawn a new runner. Default: ['codebuild']
@@ -6930,6 +7032,7 @@ class CodeBuildRunnerProviderProps(RunnerProviderProps):
6930
7032
  check_type(argname="argument retry_options", value=retry_options, expected_type=type_hints["retry_options"])
6931
7033
  check_type(argname="argument compute_type", value=compute_type, expected_type=type_hints["compute_type"])
6932
7034
  check_type(argname="argument docker_in_docker", value=docker_in_docker, expected_type=type_hints["docker_in_docker"])
7035
+ check_type(argname="argument group", value=group, expected_type=type_hints["group"])
6933
7036
  check_type(argname="argument image_builder", value=image_builder, expected_type=type_hints["image_builder"])
6934
7037
  check_type(argname="argument label", value=label, expected_type=type_hints["label"])
6935
7038
  check_type(argname="argument labels", value=labels, expected_type=type_hints["labels"])
@@ -6947,6 +7050,8 @@ class CodeBuildRunnerProviderProps(RunnerProviderProps):
6947
7050
  self._values["compute_type"] = compute_type
6948
7051
  if docker_in_docker is not None:
6949
7052
  self._values["docker_in_docker"] = docker_in_docker
7053
+ if group is not None:
7054
+ self._values["group"] = group
6950
7055
  if image_builder is not None:
6951
7056
  self._values["image_builder"] = image_builder
6952
7057
  if label is not None:
@@ -7020,6 +7125,24 @@ class CodeBuildRunnerProviderProps(RunnerProviderProps):
7020
7125
  result = self._values.get("docker_in_docker")
7021
7126
  return typing.cast(typing.Optional[builtins.bool], result)
7022
7127
 
7128
+ @builtins.property
7129
+ def group(self) -> typing.Optional[builtins.str]:
7130
+ '''(experimental) GitHub Actions runner group name.
7131
+
7132
+ If specified, the runner will be registered with this group name. Setting a runner group can help managing access to self-hosted runners. It
7133
+ requires a paid GitHub account.
7134
+
7135
+ The group must exist or the runner will not start.
7136
+
7137
+ 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.
7138
+
7139
+ :default: undefined
7140
+
7141
+ :stability: experimental
7142
+ '''
7143
+ result = self._values.get("group")
7144
+ return typing.cast(typing.Optional[builtins.str], result)
7145
+
7023
7146
  @builtins.property
7024
7147
  def image_builder(self) -> typing.Optional[IRunnerImageBuilder]:
7025
7148
  '''(experimental) Runner image builder used to build Docker images containing GitHub Runner and all requirements.
@@ -7469,6 +7592,7 @@ class Ec2RunnerProvider(
7469
7592
  id: builtins.str,
7470
7593
  *,
7471
7594
  ami_builder: typing.Optional[IRunnerImageBuilder] = None,
7595
+ group: typing.Optional[builtins.str] = None,
7472
7596
  image_builder: typing.Optional[IRunnerImageBuilder] = None,
7473
7597
  instance_type: typing.Optional[_aws_cdk_aws_ec2_ceddda9d.InstanceType] = None,
7474
7598
  labels: typing.Optional[typing.Sequence[builtins.str]] = None,
@@ -7476,6 +7600,7 @@ class Ec2RunnerProvider(
7476
7600
  security_groups: typing.Optional[typing.Sequence[_aws_cdk_aws_ec2_ceddda9d.ISecurityGroup]] = None,
7477
7601
  spot: typing.Optional[builtins.bool] = None,
7478
7602
  spot_max_price: typing.Optional[builtins.str] = None,
7603
+ storage_options: typing.Optional[typing.Union[StorageOptions, typing.Dict[builtins.str, typing.Any]]] = None,
7479
7604
  storage_size: typing.Optional[_aws_cdk_ceddda9d.Size] = None,
7480
7605
  subnet: typing.Optional[_aws_cdk_aws_ec2_ceddda9d.ISubnet] = None,
7481
7606
  subnet_selection: typing.Optional[typing.Union[_aws_cdk_aws_ec2_ceddda9d.SubnetSelection, typing.Dict[builtins.str, typing.Any]]] = None,
@@ -7487,6 +7612,7 @@ class Ec2RunnerProvider(
7487
7612
  :param scope: -
7488
7613
  :param id: -
7489
7614
  :param ami_builder:
7615
+ :param group: (experimental) GitHub Actions runner group name. If specified, the runner will be registered with this group name. Setting a runner group can help managing access to self-hosted runners. It requires a paid GitHub account. The group must exist or the runner will not start. 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. Default: undefined
7490
7616
  :param image_builder: (experimental) Runner image builder used to build AMI containing GitHub Runner and all requirements. The image builder determines the OS and architecture of the runner. Default: Ec2RunnerProvider.imageBuilder()
7491
7617
  :param instance_type: (experimental) Instance type for launched runner instances. Default: m6i.large
7492
7618
  :param labels: (experimental) GitHub Actions labels used for this provider. These labels are used to identify which provider should spawn a new on-demand runner. Every job sends a webhook with the labels it's looking for based on runs-on. We match the labels from the webhook with the labels specified here. If all the labels specified here are present in the job's labels, this provider will be chosen and spawn a new runner. Default: ['ec2']
@@ -7494,6 +7620,7 @@ class Ec2RunnerProvider(
7494
7620
  :param security_groups: (experimental) Security groups to assign to launched runner instances. Default: a new security group
7495
7621
  :param spot: (experimental) Use spot instances to save money. Spot instances are cheaper but not always available and can be stopped prematurely. Default: false
7496
7622
  :param spot_max_price: (experimental) Set a maximum price for spot instances. Default: no max price (you will pay current spot price)
7623
+ :param storage_options: (experimental) Options for runner instance storage volume.
7497
7624
  :param storage_size: (experimental) Size of volume available for launched runner instances. This modifies the boot volume size and doesn't add any additional volumes. Default: 30GB
7498
7625
  :param subnet: (deprecated) Subnet where the runner instances will be launched. Default: default subnet of account's default VPC
7499
7626
  :param subnet_selection: (experimental) Where to place the network interfaces within the VPC. Only the first matched subnet will be used. Default: default VPC subnet
@@ -7509,6 +7636,7 @@ class Ec2RunnerProvider(
7509
7636
  check_type(argname="argument id", value=id, expected_type=type_hints["id"])
7510
7637
  props = Ec2RunnerProviderProps(
7511
7638
  ami_builder=ami_builder,
7639
+ group=group,
7512
7640
  image_builder=image_builder,
7513
7641
  instance_type=instance_type,
7514
7642
  labels=labels,
@@ -7516,6 +7644,7 @@ class Ec2RunnerProvider(
7516
7644
  security_groups=security_groups,
7517
7645
  spot=spot,
7518
7646
  spot_max_price=spot_max_price,
7647
+ storage_options=storage_options,
7519
7648
  storage_size=storage_size,
7520
7649
  subnet=subnet,
7521
7650
  subnet_selection=subnet_selection,
@@ -7765,6 +7894,7 @@ class Ec2RunnerProvider(
7765
7894
  "log_retention": "logRetention",
7766
7895
  "retry_options": "retryOptions",
7767
7896
  "ami_builder": "amiBuilder",
7897
+ "group": "group",
7768
7898
  "image_builder": "imageBuilder",
7769
7899
  "instance_type": "instanceType",
7770
7900
  "labels": "labels",
@@ -7772,6 +7902,7 @@ class Ec2RunnerProvider(
7772
7902
  "security_groups": "securityGroups",
7773
7903
  "spot": "spot",
7774
7904
  "spot_max_price": "spotMaxPrice",
7905
+ "storage_options": "storageOptions",
7775
7906
  "storage_size": "storageSize",
7776
7907
  "subnet": "subnet",
7777
7908
  "subnet_selection": "subnetSelection",
@@ -7785,6 +7916,7 @@ class Ec2RunnerProviderProps(RunnerProviderProps):
7785
7916
  log_retention: typing.Optional[_aws_cdk_aws_logs_ceddda9d.RetentionDays] = None,
7786
7917
  retry_options: typing.Optional[typing.Union[ProviderRetryOptions, typing.Dict[builtins.str, typing.Any]]] = None,
7787
7918
  ami_builder: typing.Optional[IRunnerImageBuilder] = None,
7919
+ group: typing.Optional[builtins.str] = None,
7788
7920
  image_builder: typing.Optional[IRunnerImageBuilder] = None,
7789
7921
  instance_type: typing.Optional[_aws_cdk_aws_ec2_ceddda9d.InstanceType] = None,
7790
7922
  labels: typing.Optional[typing.Sequence[builtins.str]] = None,
@@ -7792,6 +7924,7 @@ class Ec2RunnerProviderProps(RunnerProviderProps):
7792
7924
  security_groups: typing.Optional[typing.Sequence[_aws_cdk_aws_ec2_ceddda9d.ISecurityGroup]] = None,
7793
7925
  spot: typing.Optional[builtins.bool] = None,
7794
7926
  spot_max_price: typing.Optional[builtins.str] = None,
7927
+ storage_options: typing.Optional[typing.Union[StorageOptions, typing.Dict[builtins.str, typing.Any]]] = None,
7795
7928
  storage_size: typing.Optional[_aws_cdk_ceddda9d.Size] = None,
7796
7929
  subnet: typing.Optional[_aws_cdk_aws_ec2_ceddda9d.ISubnet] = None,
7797
7930
  subnet_selection: typing.Optional[typing.Union[_aws_cdk_aws_ec2_ceddda9d.SubnetSelection, typing.Dict[builtins.str, typing.Any]]] = None,
@@ -7802,6 +7935,7 @@ class Ec2RunnerProviderProps(RunnerProviderProps):
7802
7935
  :param log_retention: (experimental) The number of days log events are kept in CloudWatch Logs. When updating this property, unsetting it doesn't remove the log retention policy. To remove the retention policy, set the value to ``INFINITE``. Default: logs.RetentionDays.ONE_MONTH
7803
7936
  :param retry_options:
7804
7937
  :param ami_builder:
7938
+ :param group: (experimental) GitHub Actions runner group name. If specified, the runner will be registered with this group name. Setting a runner group can help managing access to self-hosted runners. It requires a paid GitHub account. The group must exist or the runner will not start. 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. Default: undefined
7805
7939
  :param image_builder: (experimental) Runner image builder used to build AMI containing GitHub Runner and all requirements. The image builder determines the OS and architecture of the runner. Default: Ec2RunnerProvider.imageBuilder()
7806
7940
  :param instance_type: (experimental) Instance type for launched runner instances. Default: m6i.large
7807
7941
  :param labels: (experimental) GitHub Actions labels used for this provider. These labels are used to identify which provider should spawn a new on-demand runner. Every job sends a webhook with the labels it's looking for based on runs-on. We match the labels from the webhook with the labels specified here. If all the labels specified here are present in the job's labels, this provider will be chosen and spawn a new runner. Default: ['ec2']
@@ -7809,6 +7943,7 @@ class Ec2RunnerProviderProps(RunnerProviderProps):
7809
7943
  :param security_groups: (experimental) Security groups to assign to launched runner instances. Default: a new security group
7810
7944
  :param spot: (experimental) Use spot instances to save money. Spot instances are cheaper but not always available and can be stopped prematurely. Default: false
7811
7945
  :param spot_max_price: (experimental) Set a maximum price for spot instances. Default: no max price (you will pay current spot price)
7946
+ :param storage_options: (experimental) Options for runner instance storage volume.
7812
7947
  :param storage_size: (experimental) Size of volume available for launched runner instances. This modifies the boot volume size and doesn't add any additional volumes. Default: 30GB
7813
7948
  :param subnet: (deprecated) Subnet where the runner instances will be launched. Default: default subnet of account's default VPC
7814
7949
  :param subnet_selection: (experimental) Where to place the network interfaces within the VPC. Only the first matched subnet will be used. Default: default VPC subnet
@@ -7818,6 +7953,8 @@ class Ec2RunnerProviderProps(RunnerProviderProps):
7818
7953
  '''
7819
7954
  if isinstance(retry_options, dict):
7820
7955
  retry_options = ProviderRetryOptions(**retry_options)
7956
+ if isinstance(storage_options, dict):
7957
+ storage_options = StorageOptions(**storage_options)
7821
7958
  if isinstance(subnet_selection, dict):
7822
7959
  subnet_selection = _aws_cdk_aws_ec2_ceddda9d.SubnetSelection(**subnet_selection)
7823
7960
  if __debug__:
@@ -7825,6 +7962,7 @@ class Ec2RunnerProviderProps(RunnerProviderProps):
7825
7962
  check_type(argname="argument log_retention", value=log_retention, expected_type=type_hints["log_retention"])
7826
7963
  check_type(argname="argument retry_options", value=retry_options, expected_type=type_hints["retry_options"])
7827
7964
  check_type(argname="argument ami_builder", value=ami_builder, expected_type=type_hints["ami_builder"])
7965
+ check_type(argname="argument group", value=group, expected_type=type_hints["group"])
7828
7966
  check_type(argname="argument image_builder", value=image_builder, expected_type=type_hints["image_builder"])
7829
7967
  check_type(argname="argument instance_type", value=instance_type, expected_type=type_hints["instance_type"])
7830
7968
  check_type(argname="argument labels", value=labels, expected_type=type_hints["labels"])
@@ -7832,6 +7970,7 @@ class Ec2RunnerProviderProps(RunnerProviderProps):
7832
7970
  check_type(argname="argument security_groups", value=security_groups, expected_type=type_hints["security_groups"])
7833
7971
  check_type(argname="argument spot", value=spot, expected_type=type_hints["spot"])
7834
7972
  check_type(argname="argument spot_max_price", value=spot_max_price, expected_type=type_hints["spot_max_price"])
7973
+ check_type(argname="argument storage_options", value=storage_options, expected_type=type_hints["storage_options"])
7835
7974
  check_type(argname="argument storage_size", value=storage_size, expected_type=type_hints["storage_size"])
7836
7975
  check_type(argname="argument subnet", value=subnet, expected_type=type_hints["subnet"])
7837
7976
  check_type(argname="argument subnet_selection", value=subnet_selection, expected_type=type_hints["subnet_selection"])
@@ -7843,6 +7982,8 @@ class Ec2RunnerProviderProps(RunnerProviderProps):
7843
7982
  self._values["retry_options"] = retry_options
7844
7983
  if ami_builder is not None:
7845
7984
  self._values["ami_builder"] = ami_builder
7985
+ if group is not None:
7986
+ self._values["group"] = group
7846
7987
  if image_builder is not None:
7847
7988
  self._values["image_builder"] = image_builder
7848
7989
  if instance_type is not None:
@@ -7857,6 +7998,8 @@ class Ec2RunnerProviderProps(RunnerProviderProps):
7857
7998
  self._values["spot"] = spot
7858
7999
  if spot_max_price is not None:
7859
8000
  self._values["spot_max_price"] = spot_max_price
8001
+ if storage_options is not None:
8002
+ self._values["storage_options"] = storage_options
7860
8003
  if storage_size is not None:
7861
8004
  self._values["storage_size"] = storage_size
7862
8005
  if subnet is not None:
@@ -7903,6 +8046,24 @@ class Ec2RunnerProviderProps(RunnerProviderProps):
7903
8046
  result = self._values.get("ami_builder")
7904
8047
  return typing.cast(typing.Optional[IRunnerImageBuilder], result)
7905
8048
 
8049
+ @builtins.property
8050
+ def group(self) -> typing.Optional[builtins.str]:
8051
+ '''(experimental) GitHub Actions runner group name.
8052
+
8053
+ If specified, the runner will be registered with this group name. Setting a runner group can help managing access to self-hosted runners. It
8054
+ requires a paid GitHub account.
8055
+
8056
+ The group must exist or the runner will not start.
8057
+
8058
+ 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.
8059
+
8060
+ :default: undefined
8061
+
8062
+ :stability: experimental
8063
+ '''
8064
+ result = self._values.get("group")
8065
+ return typing.cast(typing.Optional[builtins.str], result)
8066
+
7906
8067
  @builtins.property
7907
8068
  def image_builder(self) -> typing.Optional[IRunnerImageBuilder]:
7908
8069
  '''(experimental) Runner image builder used to build AMI containing GitHub Runner and all requirements.
@@ -7994,6 +8155,15 @@ class Ec2RunnerProviderProps(RunnerProviderProps):
7994
8155
  result = self._values.get("spot_max_price")
7995
8156
  return typing.cast(typing.Optional[builtins.str], result)
7996
8157
 
8158
+ @builtins.property
8159
+ def storage_options(self) -> typing.Optional[StorageOptions]:
8160
+ '''(experimental) Options for runner instance storage volume.
8161
+
8162
+ :stability: experimental
8163
+ '''
8164
+ result = self._values.get("storage_options")
8165
+ return typing.cast(typing.Optional[StorageOptions], result)
8166
+
7997
8167
  @builtins.property
7998
8168
  def storage_size(self) -> typing.Optional[_aws_cdk_ceddda9d.Size]:
7999
8169
  '''(experimental) Size of volume available for launched runner instances.
@@ -8085,6 +8255,7 @@ class EcsRunnerProvider(
8085
8255
  cluster: typing.Optional[_aws_cdk_aws_ecs_ceddda9d.Cluster] = None,
8086
8256
  cpu: typing.Optional[jsii.Number] = None,
8087
8257
  docker_in_docker: typing.Optional[builtins.bool] = None,
8258
+ group: typing.Optional[builtins.str] = None,
8088
8259
  image_builder: typing.Optional[IRunnerImageBuilder] = None,
8089
8260
  instance_type: typing.Optional[_aws_cdk_aws_ec2_ceddda9d.InstanceType] = None,
8090
8261
  labels: typing.Optional[typing.Sequence[builtins.str]] = None,
@@ -8095,6 +8266,7 @@ class EcsRunnerProvider(
8095
8266
  security_groups: typing.Optional[typing.Sequence[_aws_cdk_aws_ec2_ceddda9d.ISecurityGroup]] = None,
8096
8267
  spot: typing.Optional[builtins.bool] = None,
8097
8268
  spot_max_price: typing.Optional[builtins.str] = None,
8269
+ storage_options: typing.Optional[typing.Union[StorageOptions, typing.Dict[builtins.str, typing.Any]]] = None,
8098
8270
  storage_size: typing.Optional[_aws_cdk_ceddda9d.Size] = None,
8099
8271
  subnet_selection: typing.Optional[typing.Union[_aws_cdk_aws_ec2_ceddda9d.SubnetSelection, typing.Dict[builtins.str, typing.Any]]] = None,
8100
8272
  vpc: typing.Optional[_aws_cdk_aws_ec2_ceddda9d.IVpc] = None,
@@ -8109,6 +8281,7 @@ class EcsRunnerProvider(
8109
8281
  :param cluster: (experimental) Existing ECS cluster to use. Default: a new cluster
8110
8282
  :param cpu: (experimental) The number of cpu units used by the task. 1024 units is 1 vCPU. Fractions of a vCPU are supported. Default: 1024
8111
8283
  :param docker_in_docker: (experimental) Support building and running Docker images by enabling Docker-in-Docker (dind) and the required CodeBuild privileged mode. Disabling this can speed up provisioning of CodeBuild runners. If you don't intend on running or building Docker images, disable this for faster start-up times. Default: true
8284
+ :param group: (experimental) GitHub Actions runner group name. If specified, the runner will be registered with this group name. Setting a runner group can help managing access to self-hosted runners. It requires a paid GitHub account. The group must exist or the runner will not start. 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. Default: undefined
8112
8285
  :param image_builder: (experimental) Runner image builder used to build Docker images containing GitHub Runner and all requirements. The image builder determines the OS and architecture of the runner. Default: EcsRunnerProvider.imageBuilder()
8113
8286
  :param instance_type: (experimental) Instance type of ECS cluster instances. Only used when creating a new cluster. Default: m6i.large or m6g.large
8114
8287
  :param labels: (experimental) GitHub Actions labels used for this provider. These labels are used to identify which provider should spawn a new on-demand runner. Every job sends a webhook with the labels it's looking for based on runs-on. We match the labels from the webhook with the labels specified here. If all the labels specified here are present in the job's labels, this provider will be chosen and spawn a new runner. Default: ['ecs']
@@ -8119,6 +8292,7 @@ class EcsRunnerProvider(
8119
8292
  :param security_groups: (experimental) Security groups to assign to the task. Default: a new security group
8120
8293
  :param spot: (experimental) Use spot capacity. Default: false (true if spotMaxPrice is specified)
8121
8294
  :param spot_max_price: (experimental) Maximum price for spot instances.
8295
+ :param storage_options: (experimental) Options for runner instance storage volume.
8122
8296
  :param storage_size: (experimental) Size of volume available for launched cluster instances. This modifies the boot volume size and doesn't add any additional volumes. Each instance can be used by multiple runners, so make sure there is enough space for all of them. Default: default size for AMI (usually 30GB for Linux and 50GB for Windows)
8123
8297
  :param subnet_selection: (experimental) Subnets to run the runners in. Default: ECS default
8124
8298
  :param vpc: (experimental) VPC to launch the runners in. Default: default account VPC
@@ -8137,6 +8311,7 @@ class EcsRunnerProvider(
8137
8311
  cluster=cluster,
8138
8312
  cpu=cpu,
8139
8313
  docker_in_docker=docker_in_docker,
8314
+ group=group,
8140
8315
  image_builder=image_builder,
8141
8316
  instance_type=instance_type,
8142
8317
  labels=labels,
@@ -8147,6 +8322,7 @@ class EcsRunnerProvider(
8147
8322
  security_groups=security_groups,
8148
8323
  spot=spot,
8149
8324
  spot_max_price=spot_max_price,
8325
+ storage_options=storage_options,
8150
8326
  storage_size=storage_size,
8151
8327
  subnet_selection=subnet_selection,
8152
8328
  vpc=vpc,
@@ -8396,6 +8572,7 @@ class EcsRunnerProvider(
8396
8572
  "cluster": "cluster",
8397
8573
  "cpu": "cpu",
8398
8574
  "docker_in_docker": "dockerInDocker",
8575
+ "group": "group",
8399
8576
  "image_builder": "imageBuilder",
8400
8577
  "instance_type": "instanceType",
8401
8578
  "labels": "labels",
@@ -8406,6 +8583,7 @@ class EcsRunnerProvider(
8406
8583
  "security_groups": "securityGroups",
8407
8584
  "spot": "spot",
8408
8585
  "spot_max_price": "spotMaxPrice",
8586
+ "storage_options": "storageOptions",
8409
8587
  "storage_size": "storageSize",
8410
8588
  "subnet_selection": "subnetSelection",
8411
8589
  "vpc": "vpc",
@@ -8422,6 +8600,7 @@ class EcsRunnerProviderProps(RunnerProviderProps):
8422
8600
  cluster: typing.Optional[_aws_cdk_aws_ecs_ceddda9d.Cluster] = None,
8423
8601
  cpu: typing.Optional[jsii.Number] = None,
8424
8602
  docker_in_docker: typing.Optional[builtins.bool] = None,
8603
+ group: typing.Optional[builtins.str] = None,
8425
8604
  image_builder: typing.Optional[IRunnerImageBuilder] = None,
8426
8605
  instance_type: typing.Optional[_aws_cdk_aws_ec2_ceddda9d.InstanceType] = None,
8427
8606
  labels: typing.Optional[typing.Sequence[builtins.str]] = None,
@@ -8432,6 +8611,7 @@ class EcsRunnerProviderProps(RunnerProviderProps):
8432
8611
  security_groups: typing.Optional[typing.Sequence[_aws_cdk_aws_ec2_ceddda9d.ISecurityGroup]] = None,
8433
8612
  spot: typing.Optional[builtins.bool] = None,
8434
8613
  spot_max_price: typing.Optional[builtins.str] = None,
8614
+ storage_options: typing.Optional[typing.Union[StorageOptions, typing.Dict[builtins.str, typing.Any]]] = None,
8435
8615
  storage_size: typing.Optional[_aws_cdk_ceddda9d.Size] = None,
8436
8616
  subnet_selection: typing.Optional[typing.Union[_aws_cdk_aws_ec2_ceddda9d.SubnetSelection, typing.Dict[builtins.str, typing.Any]]] = None,
8437
8617
  vpc: typing.Optional[_aws_cdk_aws_ec2_ceddda9d.IVpc] = None,
@@ -8445,6 +8625,7 @@ class EcsRunnerProviderProps(RunnerProviderProps):
8445
8625
  :param cluster: (experimental) Existing ECS cluster to use. Default: a new cluster
8446
8626
  :param cpu: (experimental) The number of cpu units used by the task. 1024 units is 1 vCPU. Fractions of a vCPU are supported. Default: 1024
8447
8627
  :param docker_in_docker: (experimental) Support building and running Docker images by enabling Docker-in-Docker (dind) and the required CodeBuild privileged mode. Disabling this can speed up provisioning of CodeBuild runners. If you don't intend on running or building Docker images, disable this for faster start-up times. Default: true
8628
+ :param group: (experimental) GitHub Actions runner group name. If specified, the runner will be registered with this group name. Setting a runner group can help managing access to self-hosted runners. It requires a paid GitHub account. The group must exist or the runner will not start. 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. Default: undefined
8448
8629
  :param image_builder: (experimental) Runner image builder used to build Docker images containing GitHub Runner and all requirements. The image builder determines the OS and architecture of the runner. Default: EcsRunnerProvider.imageBuilder()
8449
8630
  :param instance_type: (experimental) Instance type of ECS cluster instances. Only used when creating a new cluster. Default: m6i.large or m6g.large
8450
8631
  :param labels: (experimental) GitHub Actions labels used for this provider. These labels are used to identify which provider should spawn a new on-demand runner. Every job sends a webhook with the labels it's looking for based on runs-on. We match the labels from the webhook with the labels specified here. If all the labels specified here are present in the job's labels, this provider will be chosen and spawn a new runner. Default: ['ecs']
@@ -8455,6 +8636,7 @@ class EcsRunnerProviderProps(RunnerProviderProps):
8455
8636
  :param security_groups: (experimental) Security groups to assign to the task. Default: a new security group
8456
8637
  :param spot: (experimental) Use spot capacity. Default: false (true if spotMaxPrice is specified)
8457
8638
  :param spot_max_price: (experimental) Maximum price for spot instances.
8639
+ :param storage_options: (experimental) Options for runner instance storage volume.
8458
8640
  :param storage_size: (experimental) Size of volume available for launched cluster instances. This modifies the boot volume size and doesn't add any additional volumes. Each instance can be used by multiple runners, so make sure there is enough space for all of them. Default: default size for AMI (usually 30GB for Linux and 50GB for Windows)
8459
8641
  :param subnet_selection: (experimental) Subnets to run the runners in. Default: ECS default
8460
8642
  :param vpc: (experimental) VPC to launch the runners in. Default: default account VPC
@@ -8463,6 +8645,8 @@ class EcsRunnerProviderProps(RunnerProviderProps):
8463
8645
  '''
8464
8646
  if isinstance(retry_options, dict):
8465
8647
  retry_options = ProviderRetryOptions(**retry_options)
8648
+ if isinstance(storage_options, dict):
8649
+ storage_options = StorageOptions(**storage_options)
8466
8650
  if isinstance(subnet_selection, dict):
8467
8651
  subnet_selection = _aws_cdk_aws_ec2_ceddda9d.SubnetSelection(**subnet_selection)
8468
8652
  if __debug__:
@@ -8474,6 +8658,7 @@ class EcsRunnerProviderProps(RunnerProviderProps):
8474
8658
  check_type(argname="argument cluster", value=cluster, expected_type=type_hints["cluster"])
8475
8659
  check_type(argname="argument cpu", value=cpu, expected_type=type_hints["cpu"])
8476
8660
  check_type(argname="argument docker_in_docker", value=docker_in_docker, expected_type=type_hints["docker_in_docker"])
8661
+ check_type(argname="argument group", value=group, expected_type=type_hints["group"])
8477
8662
  check_type(argname="argument image_builder", value=image_builder, expected_type=type_hints["image_builder"])
8478
8663
  check_type(argname="argument instance_type", value=instance_type, expected_type=type_hints["instance_type"])
8479
8664
  check_type(argname="argument labels", value=labels, expected_type=type_hints["labels"])
@@ -8484,6 +8669,7 @@ class EcsRunnerProviderProps(RunnerProviderProps):
8484
8669
  check_type(argname="argument security_groups", value=security_groups, expected_type=type_hints["security_groups"])
8485
8670
  check_type(argname="argument spot", value=spot, expected_type=type_hints["spot"])
8486
8671
  check_type(argname="argument spot_max_price", value=spot_max_price, expected_type=type_hints["spot_max_price"])
8672
+ check_type(argname="argument storage_options", value=storage_options, expected_type=type_hints["storage_options"])
8487
8673
  check_type(argname="argument storage_size", value=storage_size, expected_type=type_hints["storage_size"])
8488
8674
  check_type(argname="argument subnet_selection", value=subnet_selection, expected_type=type_hints["subnet_selection"])
8489
8675
  check_type(argname="argument vpc", value=vpc, expected_type=type_hints["vpc"])
@@ -8502,6 +8688,8 @@ class EcsRunnerProviderProps(RunnerProviderProps):
8502
8688
  self._values["cpu"] = cpu
8503
8689
  if docker_in_docker is not None:
8504
8690
  self._values["docker_in_docker"] = docker_in_docker
8691
+ if group is not None:
8692
+ self._values["group"] = group
8505
8693
  if image_builder is not None:
8506
8694
  self._values["image_builder"] = image_builder
8507
8695
  if instance_type is not None:
@@ -8522,6 +8710,8 @@ class EcsRunnerProviderProps(RunnerProviderProps):
8522
8710
  self._values["spot"] = spot
8523
8711
  if spot_max_price is not None:
8524
8712
  self._values["spot_max_price"] = spot_max_price
8713
+ if storage_options is not None:
8714
+ self._values["storage_options"] = storage_options
8525
8715
  if storage_size is not None:
8526
8716
  self._values["storage_size"] = storage_size
8527
8717
  if subnet_selection is not None:
@@ -8622,6 +8812,24 @@ class EcsRunnerProviderProps(RunnerProviderProps):
8622
8812
  result = self._values.get("docker_in_docker")
8623
8813
  return typing.cast(typing.Optional[builtins.bool], result)
8624
8814
 
8815
+ @builtins.property
8816
+ def group(self) -> typing.Optional[builtins.str]:
8817
+ '''(experimental) GitHub Actions runner group name.
8818
+
8819
+ If specified, the runner will be registered with this group name. Setting a runner group can help managing access to self-hosted runners. It
8820
+ requires a paid GitHub account.
8821
+
8822
+ The group must exist or the runner will not start.
8823
+
8824
+ 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.
8825
+
8826
+ :default: undefined
8827
+
8828
+ :stability: experimental
8829
+ '''
8830
+ result = self._values.get("group")
8831
+ return typing.cast(typing.Optional[builtins.str], result)
8832
+
8625
8833
  @builtins.property
8626
8834
  def image_builder(self) -> typing.Optional[IRunnerImageBuilder]:
8627
8835
  '''(experimental) Runner image builder used to build Docker images containing GitHub Runner and all requirements.
@@ -8744,6 +8952,15 @@ class EcsRunnerProviderProps(RunnerProviderProps):
8744
8952
  result = self._values.get("spot_max_price")
8745
8953
  return typing.cast(typing.Optional[builtins.str], result)
8746
8954
 
8955
+ @builtins.property
8956
+ def storage_options(self) -> typing.Optional[StorageOptions]:
8957
+ '''(experimental) Options for runner instance storage volume.
8958
+
8959
+ :stability: experimental
8960
+ '''
8961
+ result = self._values.get("storage_options")
8962
+ return typing.cast(typing.Optional[StorageOptions], result)
8963
+
8747
8964
  @builtins.property
8748
8965
  def storage_size(self) -> typing.Optional[_aws_cdk_ceddda9d.Size]:
8749
8966
  '''(experimental) Size of volume available for launched cluster instances.
@@ -8819,6 +9036,7 @@ class FargateRunnerProvider(
8819
9036
  cluster: typing.Optional[_aws_cdk_aws_ecs_ceddda9d.Cluster] = None,
8820
9037
  cpu: typing.Optional[jsii.Number] = None,
8821
9038
  ephemeral_storage_gib: typing.Optional[jsii.Number] = None,
9039
+ group: typing.Optional[builtins.str] = None,
8822
9040
  image_builder: typing.Optional[IRunnerImageBuilder] = None,
8823
9041
  label: typing.Optional[builtins.str] = None,
8824
9042
  labels: typing.Optional[typing.Sequence[builtins.str]] = None,
@@ -8838,6 +9056,7 @@ class FargateRunnerProvider(
8838
9056
  :param cluster: (experimental) Existing Fargate cluster to use. Default: a new cluster
8839
9057
  :param cpu: (experimental) The number of cpu units used by the task. For tasks using the Fargate launch type, this field is required and you must use one of the following values, which determines your range of valid values for the memory parameter: 256 (.25 vCPU) - Available memory values: 512 (0.5 GB), 1024 (1 GB), 2048 (2 GB) 512 (.5 vCPU) - Available memory values: 1024 (1 GB), 2048 (2 GB), 3072 (3 GB), 4096 (4 GB) 1024 (1 vCPU) - Available memory values: 2048 (2 GB), 3072 (3 GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8 GB) 2048 (2 vCPU) - Available memory values: Between 4096 (4 GB) and 16384 (16 GB) in increments of 1024 (1 GB) 4096 (4 vCPU) - Available memory values: Between 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB) Default: 1024
8840
9058
  :param ephemeral_storage_gib: (experimental) The amount (in GiB) of ephemeral storage to be allocated to the task. The maximum supported value is 200 GiB. NOTE: This parameter is only supported for tasks hosted on AWS Fargate using platform version 1.4.0 or later. Default: 20
9059
+ :param group: (experimental) GitHub Actions runner group name. If specified, the runner will be registered with this group name. Setting a runner group can help managing access to self-hosted runners. It requires a paid GitHub account. The group must exist or the runner will not start. 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. Default: undefined
8841
9060
  :param image_builder: (experimental) Runner image builder used to build Docker images containing GitHub Runner and all requirements. The image builder determines the OS and architecture of the runner. Default: FargateRunnerProvider.imageBuilder()
8842
9061
  :param label: (deprecated) GitHub Actions label used for this provider. Default: undefined
8843
9062
  :param labels: (experimental) GitHub Actions labels used for this provider. These labels are used to identify which provider should spawn a new on-demand runner. Every job sends a webhook with the labels it's looking for based on runs-on. We match the labels from the webhook with the labels specified here. If all the labels specified here are present in the job's labels, this provider will be chosen and spawn a new runner. Default: ['fargate']
@@ -8861,6 +9080,7 @@ class FargateRunnerProvider(
8861
9080
  cluster=cluster,
8862
9081
  cpu=cpu,
8863
9082
  ephemeral_storage_gib=ephemeral_storage_gib,
9083
+ group=group,
8864
9084
  image_builder=image_builder,
8865
9085
  label=label,
8866
9086
  labels=labels,
@@ -9226,6 +9446,7 @@ class FargateRunnerProvider(
9226
9446
  "cluster": "cluster",
9227
9447
  "cpu": "cpu",
9228
9448
  "ephemeral_storage_gib": "ephemeralStorageGiB",
9449
+ "group": "group",
9229
9450
  "image_builder": "imageBuilder",
9230
9451
  "label": "label",
9231
9452
  "labels": "labels",
@@ -9247,6 +9468,7 @@ class FargateRunnerProviderProps(RunnerProviderProps):
9247
9468
  cluster: typing.Optional[_aws_cdk_aws_ecs_ceddda9d.Cluster] = None,
9248
9469
  cpu: typing.Optional[jsii.Number] = None,
9249
9470
  ephemeral_storage_gib: typing.Optional[jsii.Number] = None,
9471
+ group: typing.Optional[builtins.str] = None,
9250
9472
  image_builder: typing.Optional[IRunnerImageBuilder] = None,
9251
9473
  label: typing.Optional[builtins.str] = None,
9252
9474
  labels: typing.Optional[typing.Sequence[builtins.str]] = None,
@@ -9265,6 +9487,7 @@ class FargateRunnerProviderProps(RunnerProviderProps):
9265
9487
  :param cluster: (experimental) Existing Fargate cluster to use. Default: a new cluster
9266
9488
  :param cpu: (experimental) The number of cpu units used by the task. For tasks using the Fargate launch type, this field is required and you must use one of the following values, which determines your range of valid values for the memory parameter: 256 (.25 vCPU) - Available memory values: 512 (0.5 GB), 1024 (1 GB), 2048 (2 GB) 512 (.5 vCPU) - Available memory values: 1024 (1 GB), 2048 (2 GB), 3072 (3 GB), 4096 (4 GB) 1024 (1 vCPU) - Available memory values: 2048 (2 GB), 3072 (3 GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8 GB) 2048 (2 vCPU) - Available memory values: Between 4096 (4 GB) and 16384 (16 GB) in increments of 1024 (1 GB) 4096 (4 vCPU) - Available memory values: Between 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB) Default: 1024
9267
9489
  :param ephemeral_storage_gib: (experimental) The amount (in GiB) of ephemeral storage to be allocated to the task. The maximum supported value is 200 GiB. NOTE: This parameter is only supported for tasks hosted on AWS Fargate using platform version 1.4.0 or later. Default: 20
9490
+ :param group: (experimental) GitHub Actions runner group name. If specified, the runner will be registered with this group name. Setting a runner group can help managing access to self-hosted runners. It requires a paid GitHub account. The group must exist or the runner will not start. 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. Default: undefined
9268
9491
  :param image_builder: (experimental) Runner image builder used to build Docker images containing GitHub Runner and all requirements. The image builder determines the OS and architecture of the runner. Default: FargateRunnerProvider.imageBuilder()
9269
9492
  :param label: (deprecated) GitHub Actions label used for this provider. Default: undefined
9270
9493
  :param labels: (experimental) GitHub Actions labels used for this provider. These labels are used to identify which provider should spawn a new on-demand runner. Every job sends a webhook with the labels it's looking for based on runs-on. We match the labels from the webhook with the labels specified here. If all the labels specified here are present in the job's labels, this provider will be chosen and spawn a new runner. Default: ['fargate']
@@ -9289,6 +9512,7 @@ class FargateRunnerProviderProps(RunnerProviderProps):
9289
9512
  check_type(argname="argument cluster", value=cluster, expected_type=type_hints["cluster"])
9290
9513
  check_type(argname="argument cpu", value=cpu, expected_type=type_hints["cpu"])
9291
9514
  check_type(argname="argument ephemeral_storage_gib", value=ephemeral_storage_gib, expected_type=type_hints["ephemeral_storage_gib"])
9515
+ check_type(argname="argument group", value=group, expected_type=type_hints["group"])
9292
9516
  check_type(argname="argument image_builder", value=image_builder, expected_type=type_hints["image_builder"])
9293
9517
  check_type(argname="argument label", value=label, expected_type=type_hints["label"])
9294
9518
  check_type(argname="argument labels", value=labels, expected_type=type_hints["labels"])
@@ -9311,6 +9535,8 @@ class FargateRunnerProviderProps(RunnerProviderProps):
9311
9535
  self._values["cpu"] = cpu
9312
9536
  if ephemeral_storage_gib is not None:
9313
9537
  self._values["ephemeral_storage_gib"] = ephemeral_storage_gib
9538
+ if group is not None:
9539
+ self._values["group"] = group
9314
9540
  if image_builder is not None:
9315
9541
  self._values["image_builder"] = image_builder
9316
9542
  if label is not None:
@@ -9421,6 +9647,24 @@ class FargateRunnerProviderProps(RunnerProviderProps):
9421
9647
  result = self._values.get("ephemeral_storage_gib")
9422
9648
  return typing.cast(typing.Optional[jsii.Number], result)
9423
9649
 
9650
+ @builtins.property
9651
+ def group(self) -> typing.Optional[builtins.str]:
9652
+ '''(experimental) GitHub Actions runner group name.
9653
+
9654
+ If specified, the runner will be registered with this group name. Setting a runner group can help managing access to self-hosted runners. It
9655
+ requires a paid GitHub account.
9656
+
9657
+ The group must exist or the runner will not start.
9658
+
9659
+ 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.
9660
+
9661
+ :default: undefined
9662
+
9663
+ :stability: experimental
9664
+ '''
9665
+ result = self._values.get("group")
9666
+ return typing.cast(typing.Optional[builtins.str], result)
9667
+
9424
9668
  @builtins.property
9425
9669
  def image_builder(self) -> typing.Optional[IRunnerImageBuilder]:
9426
9670
  '''(experimental) Runner image builder used to build Docker images containing GitHub Runner and all requirements.
@@ -9674,6 +9918,7 @@ class LambdaRunner(
9674
9918
  id: builtins.str,
9675
9919
  *,
9676
9920
  ephemeral_storage_size: typing.Optional[_aws_cdk_ceddda9d.Size] = None,
9921
+ group: typing.Optional[builtins.str] = None,
9677
9922
  image_builder: typing.Optional[IRunnerImageBuilder] = None,
9678
9923
  label: typing.Optional[builtins.str] = None,
9679
9924
  labels: typing.Optional[typing.Sequence[builtins.str]] = None,
@@ -9690,6 +9935,7 @@ class LambdaRunner(
9690
9935
  :param scope: -
9691
9936
  :param id: -
9692
9937
  :param ephemeral_storage_size: (experimental) The size of the function’s /tmp directory in MiB. Default: 10 GiB
9938
+ :param group: (experimental) GitHub Actions runner group name. If specified, the runner will be registered with this group name. Setting a runner group can help managing access to self-hosted runners. It requires a paid GitHub account. The group must exist or the runner will not start. 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. Default: undefined
9693
9939
  :param image_builder: (experimental) Runner image builder used to build Docker images containing GitHub Runner and all requirements. The image builder must contain the {@link RunnerImageComponent.lambdaEntrypoint} component. The image builder determines the OS and architecture of the runner. Default: LambdaRunnerProvider.imageBuilder()
9694
9940
  :param label: (deprecated) GitHub Actions label used for this provider. Default: undefined
9695
9941
  :param labels: (experimental) GitHub Actions labels used for this provider. These labels are used to identify which provider should spawn a new on-demand runner. Every job sends a webhook with the labels it's looking for based on runs-on. We match the labels from the webhook with the labels specified here. If all the labels specified here are present in the job's labels, this provider will be chosen and spawn a new runner. Default: ['lambda']
@@ -9710,6 +9956,7 @@ class LambdaRunner(
9710
9956
  check_type(argname="argument id", value=id, expected_type=type_hints["id"])
9711
9957
  props = LambdaRunnerProviderProps(
9712
9958
  ephemeral_storage_size=ephemeral_storage_size,
9959
+ group=group,
9713
9960
  image_builder=image_builder,
9714
9961
  label=label,
9715
9962
  labels=labels,
@@ -9733,6 +9980,7 @@ class LambdaRunner(
9733
9980
  "log_retention": "logRetention",
9734
9981
  "retry_options": "retryOptions",
9735
9982
  "ephemeral_storage_size": "ephemeralStorageSize",
9983
+ "group": "group",
9736
9984
  "image_builder": "imageBuilder",
9737
9985
  "label": "label",
9738
9986
  "labels": "labels",
@@ -9751,6 +9999,7 @@ class LambdaRunnerProviderProps(RunnerProviderProps):
9751
9999
  log_retention: typing.Optional[_aws_cdk_aws_logs_ceddda9d.RetentionDays] = None,
9752
10000
  retry_options: typing.Optional[typing.Union[ProviderRetryOptions, typing.Dict[builtins.str, typing.Any]]] = None,
9753
10001
  ephemeral_storage_size: typing.Optional[_aws_cdk_ceddda9d.Size] = None,
10002
+ group: typing.Optional[builtins.str] = None,
9754
10003
  image_builder: typing.Optional[IRunnerImageBuilder] = None,
9755
10004
  label: typing.Optional[builtins.str] = None,
9756
10005
  labels: typing.Optional[typing.Sequence[builtins.str]] = None,
@@ -9765,6 +10014,7 @@ class LambdaRunnerProviderProps(RunnerProviderProps):
9765
10014
  :param log_retention: (experimental) The number of days log events are kept in CloudWatch Logs. When updating this property, unsetting it doesn't remove the log retention policy. To remove the retention policy, set the value to ``INFINITE``. Default: logs.RetentionDays.ONE_MONTH
9766
10015
  :param retry_options:
9767
10016
  :param ephemeral_storage_size: (experimental) The size of the function’s /tmp directory in MiB. Default: 10 GiB
10017
+ :param group: (experimental) GitHub Actions runner group name. If specified, the runner will be registered with this group name. Setting a runner group can help managing access to self-hosted runners. It requires a paid GitHub account. The group must exist or the runner will not start. 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. Default: undefined
9768
10018
  :param image_builder: (experimental) Runner image builder used to build Docker images containing GitHub Runner and all requirements. The image builder must contain the {@link RunnerImageComponent.lambdaEntrypoint} component. The image builder determines the OS and architecture of the runner. Default: LambdaRunnerProvider.imageBuilder()
9769
10019
  :param label: (deprecated) GitHub Actions label used for this provider. Default: undefined
9770
10020
  :param labels: (experimental) GitHub Actions labels used for this provider. These labels are used to identify which provider should spawn a new on-demand runner. Every job sends a webhook with the labels it's looking for based on runs-on. We match the labels from the webhook with the labels specified here. If all the labels specified here are present in the job's labels, this provider will be chosen and spawn a new runner. Default: ['lambda']
@@ -9786,6 +10036,7 @@ class LambdaRunnerProviderProps(RunnerProviderProps):
9786
10036
  check_type(argname="argument log_retention", value=log_retention, expected_type=type_hints["log_retention"])
9787
10037
  check_type(argname="argument retry_options", value=retry_options, expected_type=type_hints["retry_options"])
9788
10038
  check_type(argname="argument ephemeral_storage_size", value=ephemeral_storage_size, expected_type=type_hints["ephemeral_storage_size"])
10039
+ check_type(argname="argument group", value=group, expected_type=type_hints["group"])
9789
10040
  check_type(argname="argument image_builder", value=image_builder, expected_type=type_hints["image_builder"])
9790
10041
  check_type(argname="argument label", value=label, expected_type=type_hints["label"])
9791
10042
  check_type(argname="argument labels", value=labels, expected_type=type_hints["labels"])
@@ -9802,6 +10053,8 @@ class LambdaRunnerProviderProps(RunnerProviderProps):
9802
10053
  self._values["retry_options"] = retry_options
9803
10054
  if ephemeral_storage_size is not None:
9804
10055
  self._values["ephemeral_storage_size"] = ephemeral_storage_size
10056
+ if group is not None:
10057
+ self._values["group"] = group
9805
10058
  if image_builder is not None:
9806
10059
  self._values["image_builder"] = image_builder
9807
10060
  if label is not None:
@@ -9859,6 +10112,24 @@ class LambdaRunnerProviderProps(RunnerProviderProps):
9859
10112
  result = self._values.get("ephemeral_storage_size")
9860
10113
  return typing.cast(typing.Optional[_aws_cdk_ceddda9d.Size], result)
9861
10114
 
10115
+ @builtins.property
10116
+ def group(self) -> typing.Optional[builtins.str]:
10117
+ '''(experimental) GitHub Actions runner group name.
10118
+
10119
+ If specified, the runner will be registered with this group name. Setting a runner group can help managing access to self-hosted runners. It
10120
+ requires a paid GitHub account.
10121
+
10122
+ The group must exist or the runner will not start.
10123
+
10124
+ 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.
10125
+
10126
+ :default: undefined
10127
+
10128
+ :stability: experimental
10129
+ '''
10130
+ result = self._values.get("group")
10131
+ return typing.cast(typing.Optional[builtins.str], result)
10132
+
9862
10133
  @builtins.property
9863
10134
  def image_builder(self) -> typing.Optional[IRunnerImageBuilder]:
9864
10135
  '''(experimental) Runner image builder used to build Docker images containing GitHub Runner and all requirements.
@@ -10320,6 +10591,7 @@ class CodeBuildRunner(
10320
10591
  *,
10321
10592
  compute_type: typing.Optional[_aws_cdk_aws_codebuild_ceddda9d.ComputeType] = None,
10322
10593
  docker_in_docker: typing.Optional[builtins.bool] = None,
10594
+ group: typing.Optional[builtins.str] = None,
10323
10595
  image_builder: typing.Optional[IRunnerImageBuilder] = None,
10324
10596
  label: typing.Optional[builtins.str] = None,
10325
10597
  labels: typing.Optional[typing.Sequence[builtins.str]] = None,
@@ -10336,6 +10608,7 @@ class CodeBuildRunner(
10336
10608
  :param id: -
10337
10609
  :param compute_type: (experimental) The type of compute to use for this build. See the {@link ComputeType} enum for the possible values. Default: {@link ComputeType#SMALL }
10338
10610
  :param docker_in_docker: (experimental) Support building and running Docker images by enabling Docker-in-Docker (dind) and the required CodeBuild privileged mode. Disabling this can speed up provisioning of CodeBuild runners. If you don't intend on running or building Docker images, disable this for faster start-up times. Default: true
10611
+ :param group: (experimental) GitHub Actions runner group name. If specified, the runner will be registered with this group name. Setting a runner group can help managing access to self-hosted runners. It requires a paid GitHub account. The group must exist or the runner will not start. 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. Default: undefined
10339
10612
  :param image_builder: (experimental) Runner image builder used to build Docker images containing GitHub Runner and all requirements. The image builder must contain the {@link RunnerImageComponent.docker} component unless ``dockerInDocker`` is set to false. The image builder determines the OS and architecture of the runner. Default: CodeBuildRunnerProvider.imageBuilder()
10340
10613
  :param label: (deprecated) GitHub Actions label used for this provider. Default: undefined
10341
10614
  :param labels: (experimental) GitHub Actions labels used for this provider. These labels are used to identify which provider should spawn a new on-demand runner. Every job sends a webhook with the labels it's looking for based on runs-on. We match the labels from the webhook with the labels specified here. If all the labels specified here are present in the job's labels, this provider will be chosen and spawn a new runner. Default: ['codebuild']
@@ -10356,6 +10629,7 @@ class CodeBuildRunner(
10356
10629
  props = CodeBuildRunnerProviderProps(
10357
10630
  compute_type=compute_type,
10358
10631
  docker_in_docker=docker_in_docker,
10632
+ group=group,
10359
10633
  image_builder=image_builder,
10360
10634
  label=label,
10361
10635
  labels=labels,
@@ -10388,6 +10662,7 @@ class Ec2Runner(
10388
10662
  id: builtins.str,
10389
10663
  *,
10390
10664
  ami_builder: typing.Optional[IRunnerImageBuilder] = None,
10665
+ group: typing.Optional[builtins.str] = None,
10391
10666
  image_builder: typing.Optional[IRunnerImageBuilder] = None,
10392
10667
  instance_type: typing.Optional[_aws_cdk_aws_ec2_ceddda9d.InstanceType] = None,
10393
10668
  labels: typing.Optional[typing.Sequence[builtins.str]] = None,
@@ -10395,6 +10670,7 @@ class Ec2Runner(
10395
10670
  security_groups: typing.Optional[typing.Sequence[_aws_cdk_aws_ec2_ceddda9d.ISecurityGroup]] = None,
10396
10671
  spot: typing.Optional[builtins.bool] = None,
10397
10672
  spot_max_price: typing.Optional[builtins.str] = None,
10673
+ storage_options: typing.Optional[typing.Union[StorageOptions, typing.Dict[builtins.str, typing.Any]]] = None,
10398
10674
  storage_size: typing.Optional[_aws_cdk_ceddda9d.Size] = None,
10399
10675
  subnet: typing.Optional[_aws_cdk_aws_ec2_ceddda9d.ISubnet] = None,
10400
10676
  subnet_selection: typing.Optional[typing.Union[_aws_cdk_aws_ec2_ceddda9d.SubnetSelection, typing.Dict[builtins.str, typing.Any]]] = None,
@@ -10406,6 +10682,7 @@ class Ec2Runner(
10406
10682
  :param scope: -
10407
10683
  :param id: -
10408
10684
  :param ami_builder:
10685
+ :param group: (experimental) GitHub Actions runner group name. If specified, the runner will be registered with this group name. Setting a runner group can help managing access to self-hosted runners. It requires a paid GitHub account. The group must exist or the runner will not start. 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. Default: undefined
10409
10686
  :param image_builder: (experimental) Runner image builder used to build AMI containing GitHub Runner and all requirements. The image builder determines the OS and architecture of the runner. Default: Ec2RunnerProvider.imageBuilder()
10410
10687
  :param instance_type: (experimental) Instance type for launched runner instances. Default: m6i.large
10411
10688
  :param labels: (experimental) GitHub Actions labels used for this provider. These labels are used to identify which provider should spawn a new on-demand runner. Every job sends a webhook with the labels it's looking for based on runs-on. We match the labels from the webhook with the labels specified here. If all the labels specified here are present in the job's labels, this provider will be chosen and spawn a new runner. Default: ['ec2']
@@ -10413,6 +10690,7 @@ class Ec2Runner(
10413
10690
  :param security_groups: (experimental) Security groups to assign to launched runner instances. Default: a new security group
10414
10691
  :param spot: (experimental) Use spot instances to save money. Spot instances are cheaper but not always available and can be stopped prematurely. Default: false
10415
10692
  :param spot_max_price: (experimental) Set a maximum price for spot instances. Default: no max price (you will pay current spot price)
10693
+ :param storage_options: (experimental) Options for runner instance storage volume.
10416
10694
  :param storage_size: (experimental) Size of volume available for launched runner instances. This modifies the boot volume size and doesn't add any additional volumes. Default: 30GB
10417
10695
  :param subnet: (deprecated) Subnet where the runner instances will be launched. Default: default subnet of account's default VPC
10418
10696
  :param subnet_selection: (experimental) Where to place the network interfaces within the VPC. Only the first matched subnet will be used. Default: default VPC subnet
@@ -10428,6 +10706,7 @@ class Ec2Runner(
10428
10706
  check_type(argname="argument id", value=id, expected_type=type_hints["id"])
10429
10707
  props = Ec2RunnerProviderProps(
10430
10708
  ami_builder=ami_builder,
10709
+ group=group,
10431
10710
  image_builder=image_builder,
10432
10711
  instance_type=instance_type,
10433
10712
  labels=labels,
@@ -10435,6 +10714,7 @@ class Ec2Runner(
10435
10714
  security_groups=security_groups,
10436
10715
  spot=spot,
10437
10716
  spot_max_price=spot_max_price,
10717
+ storage_options=storage_options,
10438
10718
  storage_size=storage_size,
10439
10719
  subnet=subnet,
10440
10720
  subnet_selection=subnet_selection,
@@ -10466,6 +10746,7 @@ class FargateRunner(
10466
10746
  cluster: typing.Optional[_aws_cdk_aws_ecs_ceddda9d.Cluster] = None,
10467
10747
  cpu: typing.Optional[jsii.Number] = None,
10468
10748
  ephemeral_storage_gib: typing.Optional[jsii.Number] = None,
10749
+ group: typing.Optional[builtins.str] = None,
10469
10750
  image_builder: typing.Optional[IRunnerImageBuilder] = None,
10470
10751
  label: typing.Optional[builtins.str] = None,
10471
10752
  labels: typing.Optional[typing.Sequence[builtins.str]] = None,
@@ -10485,6 +10766,7 @@ class FargateRunner(
10485
10766
  :param cluster: (experimental) Existing Fargate cluster to use. Default: a new cluster
10486
10767
  :param cpu: (experimental) The number of cpu units used by the task. For tasks using the Fargate launch type, this field is required and you must use one of the following values, which determines your range of valid values for the memory parameter: 256 (.25 vCPU) - Available memory values: 512 (0.5 GB), 1024 (1 GB), 2048 (2 GB) 512 (.5 vCPU) - Available memory values: 1024 (1 GB), 2048 (2 GB), 3072 (3 GB), 4096 (4 GB) 1024 (1 vCPU) - Available memory values: 2048 (2 GB), 3072 (3 GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8 GB) 2048 (2 vCPU) - Available memory values: Between 4096 (4 GB) and 16384 (16 GB) in increments of 1024 (1 GB) 4096 (4 vCPU) - Available memory values: Between 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB) Default: 1024
10487
10768
  :param ephemeral_storage_gib: (experimental) The amount (in GiB) of ephemeral storage to be allocated to the task. The maximum supported value is 200 GiB. NOTE: This parameter is only supported for tasks hosted on AWS Fargate using platform version 1.4.0 or later. Default: 20
10769
+ :param group: (experimental) GitHub Actions runner group name. If specified, the runner will be registered with this group name. Setting a runner group can help managing access to self-hosted runners. It requires a paid GitHub account. The group must exist or the runner will not start. 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. Default: undefined
10488
10770
  :param image_builder: (experimental) Runner image builder used to build Docker images containing GitHub Runner and all requirements. The image builder determines the OS and architecture of the runner. Default: FargateRunnerProvider.imageBuilder()
10489
10771
  :param label: (deprecated) GitHub Actions label used for this provider. Default: undefined
10490
10772
  :param labels: (experimental) GitHub Actions labels used for this provider. These labels are used to identify which provider should spawn a new on-demand runner. Every job sends a webhook with the labels it's looking for based on runs-on. We match the labels from the webhook with the labels specified here. If all the labels specified here are present in the job's labels, this provider will be chosen and spawn a new runner. Default: ['fargate']
@@ -10508,6 +10790,7 @@ class FargateRunner(
10508
10790
  cluster=cluster,
10509
10791
  cpu=cpu,
10510
10792
  ephemeral_storage_gib=ephemeral_storage_gib,
10793
+ group=group,
10511
10794
  image_builder=image_builder,
10512
10795
  label=label,
10513
10796
  labels=labels,
@@ -10579,6 +10862,7 @@ __all__ = [
10579
10862
  "RunnerVersion",
10580
10863
  "Secrets",
10581
10864
  "StaticRunnerImage",
10865
+ "StorageOptions",
10582
10866
  "WindowsComponents",
10583
10867
  ]
10584
10868
 
@@ -10816,6 +11100,7 @@ def _typecheckingstub__637ac3a7237f114ea2a9842f95653a0d13444cd4da7a4dfe9330fdb98
10816
11100
  id: builtins.str,
10817
11101
  *,
10818
11102
  ephemeral_storage_size: typing.Optional[_aws_cdk_ceddda9d.Size] = None,
11103
+ group: typing.Optional[builtins.str] = None,
10819
11104
  image_builder: typing.Optional[IRunnerImageBuilder] = None,
10820
11105
  label: typing.Optional[builtins.str] = None,
10821
11106
  labels: typing.Optional[typing.Sequence[builtins.str]] = None,
@@ -11148,6 +11433,15 @@ def _typecheckingstub__f48d8ecb3f18c1471b45f7dfd8f15c51227e04697959138092d72a915
11148
11433
  """Type checking stubs"""
11149
11434
  pass
11150
11435
 
11436
+ def _typecheckingstub__ec3b766929d3a048d89c7dc502f77bbbfc7357735093ebc66695a13b92f9bf82(
11437
+ *,
11438
+ iops: typing.Optional[jsii.Number] = None,
11439
+ throughput: typing.Optional[jsii.Number] = None,
11440
+ volume_type: typing.Optional[_aws_cdk_aws_ec2_ceddda9d.EbsDeviceVolumeType] = None,
11441
+ ) -> None:
11442
+ """Type checking stubs"""
11443
+ pass
11444
+
11151
11445
  def _typecheckingstub__0c68c27f668327e6aeb3b0e5b7e88235ae547046edeb1fa6a808b729a31b7bd2(
11152
11446
  scope: _constructs_77d1e7e8.Construct,
11153
11447
  id: builtins.str,
@@ -11340,6 +11634,7 @@ def _typecheckingstub__bb924a0cf987a9f87f4ad0ebd952c61ebd4e02d7d83501b9600f14157
11340
11634
  *,
11341
11635
  compute_type: typing.Optional[_aws_cdk_aws_codebuild_ceddda9d.ComputeType] = None,
11342
11636
  docker_in_docker: typing.Optional[builtins.bool] = None,
11637
+ group: typing.Optional[builtins.str] = None,
11343
11638
  image_builder: typing.Optional[IRunnerImageBuilder] = None,
11344
11639
  label: typing.Optional[builtins.str] = None,
11345
11640
  labels: typing.Optional[typing.Sequence[builtins.str]] = None,
@@ -11405,6 +11700,7 @@ def _typecheckingstub__9377dcf4cd4dae74730635bdaf02246acb473843cea2856cf9a64295d
11405
11700
  retry_options: typing.Optional[typing.Union[ProviderRetryOptions, typing.Dict[builtins.str, typing.Any]]] = None,
11406
11701
  compute_type: typing.Optional[_aws_cdk_aws_codebuild_ceddda9d.ComputeType] = None,
11407
11702
  docker_in_docker: typing.Optional[builtins.bool] = None,
11703
+ group: typing.Optional[builtins.str] = None,
11408
11704
  image_builder: typing.Optional[IRunnerImageBuilder] = None,
11409
11705
  label: typing.Optional[builtins.str] = None,
11410
11706
  labels: typing.Optional[typing.Sequence[builtins.str]] = None,
@@ -11498,6 +11794,7 @@ def _typecheckingstub__fd3f279069067627058d9a5818aab030be5ffd71ce03962b4fd7cdd85
11498
11794
  id: builtins.str,
11499
11795
  *,
11500
11796
  ami_builder: typing.Optional[IRunnerImageBuilder] = None,
11797
+ group: typing.Optional[builtins.str] = None,
11501
11798
  image_builder: typing.Optional[IRunnerImageBuilder] = None,
11502
11799
  instance_type: typing.Optional[_aws_cdk_aws_ec2_ceddda9d.InstanceType] = None,
11503
11800
  labels: typing.Optional[typing.Sequence[builtins.str]] = None,
@@ -11505,6 +11802,7 @@ def _typecheckingstub__fd3f279069067627058d9a5818aab030be5ffd71ce03962b4fd7cdd85
11505
11802
  security_groups: typing.Optional[typing.Sequence[_aws_cdk_aws_ec2_ceddda9d.ISecurityGroup]] = None,
11506
11803
  spot: typing.Optional[builtins.bool] = None,
11507
11804
  spot_max_price: typing.Optional[builtins.str] = None,
11805
+ storage_options: typing.Optional[typing.Union[StorageOptions, typing.Dict[builtins.str, typing.Any]]] = None,
11508
11806
  storage_size: typing.Optional[_aws_cdk_ceddda9d.Size] = None,
11509
11807
  subnet: typing.Optional[_aws_cdk_aws_ec2_ceddda9d.ISubnet] = None,
11510
11808
  subnet_selection: typing.Optional[typing.Union[_aws_cdk_aws_ec2_ceddda9d.SubnetSelection, typing.Dict[builtins.str, typing.Any]]] = None,
@@ -11565,6 +11863,7 @@ def _typecheckingstub__b650c4bf7f2a31b514d6f1f9e0c1b4b2cdae8b20b6f209f5b5fc74ef4
11565
11863
  log_retention: typing.Optional[_aws_cdk_aws_logs_ceddda9d.RetentionDays] = None,
11566
11864
  retry_options: typing.Optional[typing.Union[ProviderRetryOptions, typing.Dict[builtins.str, typing.Any]]] = None,
11567
11865
  ami_builder: typing.Optional[IRunnerImageBuilder] = None,
11866
+ group: typing.Optional[builtins.str] = None,
11568
11867
  image_builder: typing.Optional[IRunnerImageBuilder] = None,
11569
11868
  instance_type: typing.Optional[_aws_cdk_aws_ec2_ceddda9d.InstanceType] = None,
11570
11869
  labels: typing.Optional[typing.Sequence[builtins.str]] = None,
@@ -11572,6 +11871,7 @@ def _typecheckingstub__b650c4bf7f2a31b514d6f1f9e0c1b4b2cdae8b20b6f209f5b5fc74ef4
11572
11871
  security_groups: typing.Optional[typing.Sequence[_aws_cdk_aws_ec2_ceddda9d.ISecurityGroup]] = None,
11573
11872
  spot: typing.Optional[builtins.bool] = None,
11574
11873
  spot_max_price: typing.Optional[builtins.str] = None,
11874
+ storage_options: typing.Optional[typing.Union[StorageOptions, typing.Dict[builtins.str, typing.Any]]] = None,
11575
11875
  storage_size: typing.Optional[_aws_cdk_ceddda9d.Size] = None,
11576
11876
  subnet: typing.Optional[_aws_cdk_aws_ec2_ceddda9d.ISubnet] = None,
11577
11877
  subnet_selection: typing.Optional[typing.Union[_aws_cdk_aws_ec2_ceddda9d.SubnetSelection, typing.Dict[builtins.str, typing.Any]]] = None,
@@ -11589,6 +11889,7 @@ def _typecheckingstub__c520325dd0289bf8c6670ecdce77df4b229a0a2681957e61665818d2f
11589
11889
  cluster: typing.Optional[_aws_cdk_aws_ecs_ceddda9d.Cluster] = None,
11590
11890
  cpu: typing.Optional[jsii.Number] = None,
11591
11891
  docker_in_docker: typing.Optional[builtins.bool] = None,
11892
+ group: typing.Optional[builtins.str] = None,
11592
11893
  image_builder: typing.Optional[IRunnerImageBuilder] = None,
11593
11894
  instance_type: typing.Optional[_aws_cdk_aws_ec2_ceddda9d.InstanceType] = None,
11594
11895
  labels: typing.Optional[typing.Sequence[builtins.str]] = None,
@@ -11599,6 +11900,7 @@ def _typecheckingstub__c520325dd0289bf8c6670ecdce77df4b229a0a2681957e61665818d2f
11599
11900
  security_groups: typing.Optional[typing.Sequence[_aws_cdk_aws_ec2_ceddda9d.ISecurityGroup]] = None,
11600
11901
  spot: typing.Optional[builtins.bool] = None,
11601
11902
  spot_max_price: typing.Optional[builtins.str] = None,
11903
+ storage_options: typing.Optional[typing.Union[StorageOptions, typing.Dict[builtins.str, typing.Any]]] = None,
11602
11904
  storage_size: typing.Optional[_aws_cdk_ceddda9d.Size] = None,
11603
11905
  subnet_selection: typing.Optional[typing.Union[_aws_cdk_aws_ec2_ceddda9d.SubnetSelection, typing.Dict[builtins.str, typing.Any]]] = None,
11604
11906
  vpc: typing.Optional[_aws_cdk_aws_ec2_ceddda9d.IVpc] = None,
@@ -11662,6 +11964,7 @@ def _typecheckingstub__73c1978e12dcea1bd69ce0927a80bd887d7f7d1b6573831942495e9d5
11662
11964
  cluster: typing.Optional[_aws_cdk_aws_ecs_ceddda9d.Cluster] = None,
11663
11965
  cpu: typing.Optional[jsii.Number] = None,
11664
11966
  docker_in_docker: typing.Optional[builtins.bool] = None,
11967
+ group: typing.Optional[builtins.str] = None,
11665
11968
  image_builder: typing.Optional[IRunnerImageBuilder] = None,
11666
11969
  instance_type: typing.Optional[_aws_cdk_aws_ec2_ceddda9d.InstanceType] = None,
11667
11970
  labels: typing.Optional[typing.Sequence[builtins.str]] = None,
@@ -11672,6 +11975,7 @@ def _typecheckingstub__73c1978e12dcea1bd69ce0927a80bd887d7f7d1b6573831942495e9d5
11672
11975
  security_groups: typing.Optional[typing.Sequence[_aws_cdk_aws_ec2_ceddda9d.ISecurityGroup]] = None,
11673
11976
  spot: typing.Optional[builtins.bool] = None,
11674
11977
  spot_max_price: typing.Optional[builtins.str] = None,
11978
+ storage_options: typing.Optional[typing.Union[StorageOptions, typing.Dict[builtins.str, typing.Any]]] = None,
11675
11979
  storage_size: typing.Optional[_aws_cdk_ceddda9d.Size] = None,
11676
11980
  subnet_selection: typing.Optional[typing.Union[_aws_cdk_aws_ec2_ceddda9d.SubnetSelection, typing.Dict[builtins.str, typing.Any]]] = None,
11677
11981
  vpc: typing.Optional[_aws_cdk_aws_ec2_ceddda9d.IVpc] = None,
@@ -11687,6 +11991,7 @@ def _typecheckingstub__f7098876c10584a4cc58e16d23fd86ffe1fc50f2b55ca60549136d051
11687
11991
  cluster: typing.Optional[_aws_cdk_aws_ecs_ceddda9d.Cluster] = None,
11688
11992
  cpu: typing.Optional[jsii.Number] = None,
11689
11993
  ephemeral_storage_gib: typing.Optional[jsii.Number] = None,
11994
+ group: typing.Optional[builtins.str] = None,
11690
11995
  image_builder: typing.Optional[IRunnerImageBuilder] = None,
11691
11996
  label: typing.Optional[builtins.str] = None,
11692
11997
  labels: typing.Optional[typing.Sequence[builtins.str]] = None,
@@ -11755,6 +12060,7 @@ def _typecheckingstub__26cdeb87df1adf5c49e0f9c1c061c7138af674da9af221212e1505fc1
11755
12060
  cluster: typing.Optional[_aws_cdk_aws_ecs_ceddda9d.Cluster] = None,
11756
12061
  cpu: typing.Optional[jsii.Number] = None,
11757
12062
  ephemeral_storage_gib: typing.Optional[jsii.Number] = None,
12063
+ group: typing.Optional[builtins.str] = None,
11758
12064
  image_builder: typing.Optional[IRunnerImageBuilder] = None,
11759
12065
  label: typing.Optional[builtins.str] = None,
11760
12066
  labels: typing.Optional[typing.Sequence[builtins.str]] = None,
@@ -11785,6 +12091,7 @@ def _typecheckingstub__80e9b84ecba02bdef856d3ee3f48a5e0a5e58ad813554fd529c0abe3a
11785
12091
  id: builtins.str,
11786
12092
  *,
11787
12093
  ephemeral_storage_size: typing.Optional[_aws_cdk_ceddda9d.Size] = None,
12094
+ group: typing.Optional[builtins.str] = None,
11788
12095
  image_builder: typing.Optional[IRunnerImageBuilder] = None,
11789
12096
  label: typing.Optional[builtins.str] = None,
11790
12097
  labels: typing.Optional[typing.Sequence[builtins.str]] = None,
@@ -11805,6 +12112,7 @@ def _typecheckingstub__45a4a92b817689da2d55675d278ad5c96699269cc41f3406b7fca6d7a
11805
12112
  log_retention: typing.Optional[_aws_cdk_aws_logs_ceddda9d.RetentionDays] = None,
11806
12113
  retry_options: typing.Optional[typing.Union[ProviderRetryOptions, typing.Dict[builtins.str, typing.Any]]] = None,
11807
12114
  ephemeral_storage_size: typing.Optional[_aws_cdk_ceddda9d.Size] = None,
12115
+ group: typing.Optional[builtins.str] = None,
11808
12116
  image_builder: typing.Optional[IRunnerImageBuilder] = None,
11809
12117
  label: typing.Optional[builtins.str] = None,
11810
12118
  labels: typing.Optional[typing.Sequence[builtins.str]] = None,
@@ -11892,6 +12200,7 @@ def _typecheckingstub__1ab9454b0ecfcd12fc0ab07c0f0f4d7ce646a5a928f5e14092b0a6c42
11892
12200
  *,
11893
12201
  compute_type: typing.Optional[_aws_cdk_aws_codebuild_ceddda9d.ComputeType] = None,
11894
12202
  docker_in_docker: typing.Optional[builtins.bool] = None,
12203
+ group: typing.Optional[builtins.str] = None,
11895
12204
  image_builder: typing.Optional[IRunnerImageBuilder] = None,
11896
12205
  label: typing.Optional[builtins.str] = None,
11897
12206
  labels: typing.Optional[typing.Sequence[builtins.str]] = None,
@@ -11911,6 +12220,7 @@ def _typecheckingstub__a0a6acc584ae2ad3aed3605810cea44858f1a0bc22f62f2df9005b318
11911
12220
  id: builtins.str,
11912
12221
  *,
11913
12222
  ami_builder: typing.Optional[IRunnerImageBuilder] = None,
12223
+ group: typing.Optional[builtins.str] = None,
11914
12224
  image_builder: typing.Optional[IRunnerImageBuilder] = None,
11915
12225
  instance_type: typing.Optional[_aws_cdk_aws_ec2_ceddda9d.InstanceType] = None,
11916
12226
  labels: typing.Optional[typing.Sequence[builtins.str]] = None,
@@ -11918,6 +12228,7 @@ def _typecheckingstub__a0a6acc584ae2ad3aed3605810cea44858f1a0bc22f62f2df9005b318
11918
12228
  security_groups: typing.Optional[typing.Sequence[_aws_cdk_aws_ec2_ceddda9d.ISecurityGroup]] = None,
11919
12229
  spot: typing.Optional[builtins.bool] = None,
11920
12230
  spot_max_price: typing.Optional[builtins.str] = None,
12231
+ storage_options: typing.Optional[typing.Union[StorageOptions, typing.Dict[builtins.str, typing.Any]]] = None,
11921
12232
  storage_size: typing.Optional[_aws_cdk_ceddda9d.Size] = None,
11922
12233
  subnet: typing.Optional[_aws_cdk_aws_ec2_ceddda9d.ISubnet] = None,
11923
12234
  subnet_selection: typing.Optional[typing.Union[_aws_cdk_aws_ec2_ceddda9d.SubnetSelection, typing.Dict[builtins.str, typing.Any]]] = None,
@@ -11936,6 +12247,7 @@ def _typecheckingstub__e507aa08f983fcd409ec9cf4ba5e0e6312ce72778cbbb2f9b5b016fde
11936
12247
  cluster: typing.Optional[_aws_cdk_aws_ecs_ceddda9d.Cluster] = None,
11937
12248
  cpu: typing.Optional[jsii.Number] = None,
11938
12249
  ephemeral_storage_gib: typing.Optional[jsii.Number] = None,
12250
+ group: typing.Optional[builtins.str] = None,
11939
12251
  image_builder: typing.Optional[IRunnerImageBuilder] = None,
11940
12252
  label: typing.Optional[builtins.str] = None,
11941
12253
  labels: typing.Optional[typing.Sequence[builtins.str]] = None,
@@ -33,9 +33,9 @@ import constructs._jsii
33
33
 
34
34
  __jsii_assembly__ = jsii.JSIIAssembly.load(
35
35
  "@cloudsnorkel/cdk-github-runners",
36
- "0.14.3",
36
+ "0.14.5",
37
37
  __name__[0:-6],
38
- "cdk-github-runners@0.14.3.jsii.tgz",
38
+ "cdk-github-runners@0.14.5.jsii.tgz",
39
39
  )
40
40
 
41
41
  __all__ = [
@@ -1,7 +1,7 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: cloudsnorkel.cdk-github-runners
3
- Version: 0.14.3
4
- Summary: CDK construct to create GitHub Actions self-hosted runners. A webhook listens to events and creates ephemeral runners on the fly.
3
+ Version: 0.14.5
4
+ Summary: CDK construct to create GitHub Actions self-hosted runners. Creates ephemeral runners on demand. Easy to deploy and highly customizable.
5
5
  Home-page: https://github.com/CloudSnorkel/cdk-github-runners.git
6
6
  Author: Amir Szekely<amir@cloudsnorkel.com>
7
7
  License: Apache-2.0
@@ -20,11 +20,11 @@ Classifier: License :: OSI Approved
20
20
  Requires-Python: ~=3.8
21
21
  Description-Content-Type: text/markdown
22
22
  License-File: LICENSE
23
- Requires-Dist: aws-cdk-lib<3.0.0,>=2.123.0
23
+ Requires-Dist: aws-cdk-lib<3.0.0,>=2.155.0
24
24
  Requires-Dist: constructs<11.0.0,>=10.0.5
25
- Requires-Dist: jsii<2.0.0,>=1.103.1
25
+ Requires-Dist: jsii<2.0.0,>=1.104.0
26
26
  Requires-Dist: publication>=0.0.3
27
- Requires-Dist: typeguard<5.0.0,>=2.13.3
27
+ Requires-Dist: typeguard<4.3.0,>=2.13.3
28
28
 
29
29
  # GitHub Self-Hosted Runners CDK Constructs
30
30
 
@@ -0,0 +1,9 @@
1
+ cloudsnorkel/cdk_github_runners/__init__.py,sha256=dwKPAnF5EVS8qmC4RGn6XvvEXCMyUpA7ZlT9dDGTiHQ,627280
2
+ cloudsnorkel/cdk_github_runners/py.typed,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
3
+ cloudsnorkel/cdk_github_runners/_jsii/__init__.py,sha256=YWsIXAjiO-zbRdnP073YbGi1Bncd95S8n9pUhdbEfDk,1476
4
+ cloudsnorkel/cdk_github_runners/_jsii/cdk-github-runners@0.14.5.jsii.tgz,sha256=dO3arDURYZJgu15vhgNGqjqLR8X3CuucuMoEmiLA-Q8,1452216
5
+ cloudsnorkel.cdk_github_runners-0.14.5.dist-info/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
6
+ cloudsnorkel.cdk_github_runners-0.14.5.dist-info/METADATA,sha256=ncWSAbZweNMqiCoBoK-NjvlWWwlCcobnnDF5AKayFSY,17626
7
+ cloudsnorkel.cdk_github_runners-0.14.5.dist-info/WHEEL,sha256=eOLhNAGa2EW3wWl_TU484h7q1UNgy0JXjjoqKoxAAQc,92
8
+ cloudsnorkel.cdk_github_runners-0.14.5.dist-info/top_level.txt,sha256=6vUrT-dcGOiRMT4Q6gEQPznoyS7nHOJ269MHpo4DEd8,13
9
+ cloudsnorkel.cdk_github_runners-0.14.5.dist-info/RECORD,,
@@ -1,9 +0,0 @@
1
- cloudsnorkel/cdk_github_runners/__init__.py,sha256=M3hgtBkFxgbAvLrWGw1bW3Ts0bs_lGRoF8wqdbBoyOA,606649
2
- cloudsnorkel/cdk_github_runners/py.typed,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
3
- cloudsnorkel/cdk_github_runners/_jsii/__init__.py,sha256=Tkyo-J3R8v5HCPC7Lyo260IUwal4HQCtZNeH0vNQy8I,1476
4
- cloudsnorkel/cdk_github_runners/_jsii/cdk-github-runners@0.14.3.jsii.tgz,sha256=ryPNbvq-Okg_IpUUffwom-5543pEvHmB6bwWP0Ctxgc,1445343
5
- cloudsnorkel.cdk_github_runners-0.14.3.dist-info/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
6
- cloudsnorkel.cdk_github_runners-0.14.3.dist-info/METADATA,sha256=cUNQKmiBAwcmrQJvdBz9EmkjGeEUJBoA18S1VSW3Ko4,17619
7
- cloudsnorkel.cdk_github_runners-0.14.3.dist-info/WHEEL,sha256=eOLhNAGa2EW3wWl_TU484h7q1UNgy0JXjjoqKoxAAQc,92
8
- cloudsnorkel.cdk_github_runners-0.14.3.dist-info/top_level.txt,sha256=6vUrT-dcGOiRMT4Q6gEQPznoyS7nHOJ269MHpo4DEd8,13
9
- cloudsnorkel.cdk_github_runners-0.14.3.dist-info/RECORD,,