Skip to content

EcsRunnerProvider Construct ​

GitHub Actions runner provider using ECS on EC2 to execute jobs.

ECS can be useful when you want more control of the infrastructure running the GitHub Actions Docker containers. You can control the autoscaling group to scale down to zero during the night and scale up during work hours. This way you can still save money, but have to wait less for infrastructure to spin up.

Jobs share instances, and by default run in privileged containers on Linux that can take over the instance. All jobs that can run on the same cluster should be equally trusted. See Job Isolation

This construct is not meant to be used by itself. It should be passed in the GitHubRunnersProps.providers property for GitHubRunners.

Implements: IRunnerProvider

Initializer ​

ts
import { EcsRunnerProvider } from '@cloudsnorkel/cdk-github-runners'

new EcsRunnerProvider(scope: Construct, id: string, props?: EcsRunnerProviderProps)
python
import cloudsnorkel.cdk_github_runners

cloudsnorkel.cdk_github_runners.EcsRunnerProvider(
  scope: Construct,
  id: str,
  default_labels: bool = None,
  log_retention: RetentionDays = None,
  capacity_provider: AsgCapacityProvider = None,
  cluster: Cluster = None,
  cpu: typing.Union[int, float] = None,
  docker_in_docker: bool = None,
  gpu: typing.Union[int, float] = None,
  group: str = None,
  image_builder: IRunnerImageBuilder = None,
  instance_type: InstanceType = None,
  labels: typing.List[str] = None,
  max_instances: typing.Union[int, float] = None,
  memory_limit_mi_b: typing.Union[int, float] = None,
  memory_reservation_mi_b: typing.Union[int, float] = None,
  min_instances: typing.Union[int, float] = None,
  placement_constraints: typing.List[PlacementConstraint] = None,
  placement_strategies: typing.List[PlacementStrategy] = None,
  security_groups: typing.List[ISecurityGroup] = None,
  spot: bool = None,
  spot_max_price: str = None,
  storage_options: StorageOptions = None,
  storage_size: Size = None,
  subnet_selection: SubnetSelection = None,
  tags: typing.Mapping[str] = None,
  vpc: IVpc = None
)
  • scope: Construct

  • id: str

  • default_labels?: bool

    Add default labels based on OS and architecture of the runner.

    This will tell GitHub Runner to add default labels like self-hosted, linux, x64, and arm64.

    Default: true

  • log_retention?: RetentionDays

    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

  • capacity_provider?: AsgCapacityProvider

    Existing capacity provider to use.

    Make sure the AMI used by the capacity provider is compatible with ECS.

    Runner containers use bridge networking and share the instance with other jobs. Its launch template must require IMDSv2 and set the metadata hop limit to 1 (requireImdsv2: true and httpPutResponseHopLimit: 1), or jobs can take the instance role. A warning is added when we can't confirm both.

    Default: new capacity provider

  • cluster?: Cluster

    Existing ECS cluster to use.

    Jobs from all providers using the same cluster can share instances. Only share a cluster between providers whose jobs are equally trusted.

    Default: a new cluster

  • cpu?: typing.Union[int, float]

    The number of cpu units used by the task.

    1024 units is 1 vCPU. Fractions of a vCPU are supported.

    Default: 1024

  • docker_in_docker?: bool

    Support building and running Docker images by enabling Docker-in-Docker (dind) and the required privileged mode for the runner container.

    A job running in a privileged container can take over the instance, access other jobs running on it, and affect jobs that run on it later. All jobs that can run on the same cluster should be equally trusted. Disable this if your jobs don't need Docker.

    Disabling Docker-in-Docker can also speed up runner provisioning as the runner doesn't have to wait for Docker to boot.

    Default: true

  • gpu?: typing.Union[int, float]

    Number of GPUs to request for the runner task. When set, the task will be scheduled on GPU-capable instances.

    Requires a GPU-capable instance type (e.g., g4dn.xlarge for 1 GPU, g4dn.12xlarge for 4 GPUs) and GPU AMI. When creating a new cluster, instanceType defaults to g4dn.xlarge and the ECS Optimized GPU AMI is used.

    You must ensure that the task's container image includes the CUDA runtime. Provide a CUDA-enabled base image via baseDockerImage, use an image builder that starts from a GPU-capable image (such as nvidia/cuda), or add an image component that installs the CUDA runtime into the image.

    Default: undefined (no GPU)

  • group?: str

    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 and organization level runner registration.

    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

  • image_builder?: IRunnerImageBuilder

    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()

  • instance_type?: InstanceType

    Instance type of ECS cluster instances.

    Only used when creating a new cluster.

    Default: m6i.large or m6g.large

  • labels?: typing.List[str]

    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']

  • max_instances?: typing.Union[int, float]

    The maximum number of instances to run in the cluster.

    Only used when creating a new cluster.

    Default: 5

  • memory_limit_mi_b?: typing.Union[int, float]

    The amount (in MiB) of memory used by the task.

    Default: 3500, unless memoryReservationMiB is used and then it's undefined

  • memory_reservation_mi_b?: typing.Union[int, float]

    The soft limit (in MiB) of memory to reserve for the container.

    Default: undefined

  • min_instances?: typing.Union[int, float]

    The minimum number of instances to run in the cluster.

    Only used when creating a new cluster.

    Default: 0

  • placement_constraints?: typing.List[PlacementConstraint]

    ECS placement constraints to influence task placement.

    Example: [ecs.PlacementConstraint.memberOf('ecs-placement')]

    Default: undefined (no placement constraints)

  • placement_strategies?: typing.List[PlacementStrategy]

    ECS placement strategies to influence task placement.

    Example: [ecs.PlacementStrategy.packedByCpu()]

    Default: undefined (no placement strategies)

  • security_groups?: typing.List[ISecurityGroup]

    Security groups to assign to the task.

    Default: a new security group

  • spot?: bool

    Use spot capacity.

    Default: false (true if spotMaxPrice is specified)

  • spot_max_price?: str

    Maximum price for spot instances.

  • storage_options?: StorageOptions

    Options for runner instance storage volume.

  • storage_size?: Size

    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)

  • subnet_selection?: SubnetSelection

    Subnets to run the runners in.

    Default: ECS default

  • tags?: typing.Mapping[str]

    Additional tags to apply to launched runner tasks.

    These additional tags are set on top of Name, GitHubRunners:Provider, GitHubRunners:Repo, and GitHubRunners:Labels. You may not override tags with the GitHubRunners: prefix.

    Default: no additional tags

  • vpc?: IVpc

    VPC to launch the runners in.

    Default: default account VPC

java
import com.cloudsnorkel.cdk.github.runners.EcsRunnerProvider;

EcsRunnerProvider.Builder.create(Construct scope, java.lang.String id)
//  .defaultLabels(java.lang.Boolean)
//  .logRetention(RetentionDays)
//  .capacityProvider(AsgCapacityProvider)
//  .cluster(Cluster)
//  .cpu(java.lang.Number)
//  .dockerInDocker(java.lang.Boolean)
//  .gpu(java.lang.Number)
//  .group(java.lang.String)
//  .imageBuilder(IRunnerImageBuilder)
//  .instanceType(InstanceType)
//  .labels(java.util.List<java.lang.String>)
//  .maxInstances(java.lang.Number)
//  .memoryLimitMiB(java.lang.Number)
//  .memoryReservationMiB(java.lang.Number)
//  .minInstances(java.lang.Number)
//  .placementConstraints(java.util.List<PlacementConstraint>)
//  .placementStrategies(java.util.List<PlacementStrategy>)
//  .securityGroups(java.util.List<ISecurityGroup>)
//  .spot(java.lang.Boolean)
//  .spotMaxPrice(java.lang.String)
//  .storageOptions(StorageOptions)
//  .storageSize(Size)
//  .subnetSelection(SubnetSelection)
//  .tags(java.util.Map<java.lang.String, java.lang.String>)
//  .vpc(IVpc)
    .build();
  • scope: Construct

  • id: java.lang.String

  • defaultLabels?: java.lang.Boolean

    Add default labels based on OS and architecture of the runner.

    This will tell GitHub Runner to add default labels like self-hosted, linux, x64, and arm64.

    Default: true

  • logRetention?: RetentionDays

    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

  • capacityProvider?: AsgCapacityProvider

    Existing capacity provider to use.

    Make sure the AMI used by the capacity provider is compatible with ECS.

    Runner containers use bridge networking and share the instance with other jobs. Its launch template must require IMDSv2 and set the metadata hop limit to 1 (requireImdsv2: true and httpPutResponseHopLimit: 1), or jobs can take the instance role. A warning is added when we can't confirm both.

    Default: new capacity provider

  • cluster?: Cluster

    Existing ECS cluster to use.

    Jobs from all providers using the same cluster can share instances. Only share a cluster between providers whose jobs are equally trusted.

    Default: a new cluster

  • cpu?: java.lang.Number

    The number of cpu units used by the task.

    1024 units is 1 vCPU. Fractions of a vCPU are supported.

    Default: 1024

  • dockerInDocker?: java.lang.Boolean

    Support building and running Docker images by enabling Docker-in-Docker (dind) and the required privileged mode for the runner container.

    A job running in a privileged container can take over the instance, access other jobs running on it, and affect jobs that run on it later. All jobs that can run on the same cluster should be equally trusted. Disable this if your jobs don't need Docker.

    Disabling Docker-in-Docker can also speed up runner provisioning as the runner doesn't have to wait for Docker to boot.

    Default: true

  • gpu?: java.lang.Number

    Number of GPUs to request for the runner task. When set, the task will be scheduled on GPU-capable instances.

    Requires a GPU-capable instance type (e.g., g4dn.xlarge for 1 GPU, g4dn.12xlarge for 4 GPUs) and GPU AMI. When creating a new cluster, instanceType defaults to g4dn.xlarge and the ECS Optimized GPU AMI is used.

    You must ensure that the task's container image includes the CUDA runtime. Provide a CUDA-enabled base image via baseDockerImage, use an image builder that starts from a GPU-capable image (such as nvidia/cuda), or add an image component that installs the CUDA runtime into the image.

    Default: undefined (no GPU)

  • group?: java.lang.String

    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 and organization level runner registration.

    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

  • imageBuilder?: IRunnerImageBuilder

    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()

  • instanceType?: InstanceType

    Instance type of ECS cluster instances.

    Only used when creating a new cluster.

    Default: m6i.large or m6g.large

  • labels?: java.util.List<java.lang.String>

    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']

  • maxInstances?: java.lang.Number

    The maximum number of instances to run in the cluster.

    Only used when creating a new cluster.

    Default: 5

  • memoryLimitMiB?: java.lang.Number

    The amount (in MiB) of memory used by the task.

    Default: 3500, unless memoryReservationMiB is used and then it's undefined

  • memoryReservationMiB?: java.lang.Number

    The soft limit (in MiB) of memory to reserve for the container.

    Default: undefined

  • minInstances?: java.lang.Number

    The minimum number of instances to run in the cluster.

    Only used when creating a new cluster.

    Default: 0

  • placementConstraints?: java.util.List<PlacementConstraint>

    ECS placement constraints to influence task placement.

    Example: [ecs.PlacementConstraint.memberOf('ecs-placement')]

    Default: undefined (no placement constraints)

  • placementStrategies?: java.util.List<PlacementStrategy>

    ECS placement strategies to influence task placement.

    Example: [ecs.PlacementStrategy.packedByCpu()]

    Default: undefined (no placement strategies)

  • securityGroups?: java.util.List<ISecurityGroup>

    Security groups to assign to the task.

    Default: a new security group

  • spot?: java.lang.Boolean

    Use spot capacity.

    Default: false (true if spotMaxPrice is specified)

  • spotMaxPrice?: java.lang.String

    Maximum price for spot instances.

  • storageOptions?: StorageOptions

    Options for runner instance storage volume.

  • storageSize?: Size

    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)

  • subnetSelection?: SubnetSelection

    Subnets to run the runners in.

    Default: ECS default

  • tags?: java.util.Map<java.lang.String, java.lang.String>

    Additional tags to apply to launched runner tasks.

    These additional tags are set on top of Name, GitHubRunners:Provider, GitHubRunners:Repo, and GitHubRunners:Labels. You may not override tags with the GitHubRunners: prefix.

    Default: no additional tags

  • vpc?: IVpc

    VPC to launch the runners in.

    Default: default account VPC

csharp
using CloudSnorkel;

new EcsRunnerProvider(Construct Scope, string Id, EcsRunnerProviderProps Props = null);
go
import "github.com/CloudSnorkel/cdk-github-runners-go/cloudsnorkelcdkgithubrunners"

cloudsnorkelcdkgithubrunners.NewEcsRunnerProvider(scope Construct, id *string, props EcsRunnerProviderProps) EcsRunnerProvider

Methods ​

toString()to_string()toString()ToString()ToString() ​

Returns a string representation of this construct.

ts
public toString(): string
python
def to_string() -> str
java
public java.lang.String toString()
csharp
private string ToString()
go
func ToString() *string

with()with()with()With()With() ​

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the start of the call, so constructs added by a mixin will not be visited. Use multiple with() calls if subsequent mixins should apply to added constructs.

ts
public with(mixins: ...IMixin[]): IConstruct
  • mixins: ...IMixin[]

    The mixins to apply.

python
def with(
  mixins: *IMixin
) -> IConstruct
  • mixins: *IMixin

    The mixins to apply.

java
public IConstruct with(IMixin... mixins)
  • mixins: IMixin...

    The mixins to apply.

csharp
private IConstruct With(params IMixin[] Mixins)
  • Mixins: params IMixin[]

    The mixins to apply.

go
func With(mixins ...IMixin) IConstruct
  • mixins: ...IMixin

    The mixins to apply.

Static Functions ​

isConstruct()is_construct()isConstruct()IsConstruct()IsConstruct() ​

Checks if x is a construct.

Use this method instead of instanceof to properly detect Construct instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the constructs library on disk are seen as independent, completely different libraries. As a consequence, the class Construct in each copy of the constructs library is seen as a different class, and an instance of one class will not test as instanceof the other class. npm install will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the constructs library can be accidentally installed, and instanceof will behave unpredictably. It is safest to avoid using instanceof, and using this type-testing method instead.

ts
import { EcsRunnerProvider } from '@cloudsnorkel/cdk-github-runners'

EcsRunnerProvider.isConstruct(x: any)
  • x: any

    Any object.

python
import cloudsnorkel.cdk_github_runners

cloudsnorkel.cdk_github_runners.EcsRunnerProvider.is_construct(
  x: typing.Any
)
  • x: typing.Any

    Any object.

java
import com.cloudsnorkel.cdk.github.runners.EcsRunnerProvider;

EcsRunnerProvider.isConstruct(java.lang.Object x)
  • x: java.lang.Object

    Any object.

csharp
using CloudSnorkel;

EcsRunnerProvider.IsConstruct(object X);
  • X: object

    Any object.

go
import "github.com/CloudSnorkel/cdk-github-runners-go/cloudsnorkelcdkgithubrunners"

cloudsnorkelcdkgithubrunners.EcsRunnerProvider_IsConstruct(x interface{}) *bool
  • x: interface{}

    Any object.

imageBuilder()image_builder()imageBuilder()ImageBuilder()ImageBuilder() ​

Create new image builder that builds ECS specific runner images.

You can customize the OS, architecture, VPC, subnet, security groups, etc. by passing in props.

You can add components to the image builder by calling IConfigurableRunnerImageBuilder.addComponent().

The default OS is Ubuntu running on x64 architecture.

Included components:

ts
import { EcsRunnerProvider } from '@cloudsnorkel/cdk-github-runners'

EcsRunnerProvider.imageBuilder(scope: Construct, id: string, props?: RunnerImageBuilderProps)
python
import cloudsnorkel.cdk_github_runners

cloudsnorkel.cdk_github_runners.EcsRunnerProvider.image_builder(
  scope: Construct,
  id: str,
  architecture: Architecture = None,
  aws_image_builder_options: AwsImageBuilderRunnerImageBuilderProps = None,
  base_ami: BaseImage = None,
  base_docker_image: BaseContainerImage = None,
  builder_type: RunnerImageBuilderType = None,
  code_build_options: CodeBuildRunnerImageBuilderProps = None,
  components: typing.List[RunnerImageComponent] = None,
  docker_setup_commands: typing.List[str] = None,
  log_removal_policy: RemovalPolicy = None,
  log_retention: RetentionDays = None,
  os: Os = None,
  rebuild_interval: Duration = None,
  runner_version: RunnerVersion = None,
  security_groups: typing.List[ISecurityGroup] = None,
  subnet_selection: SubnetSelection = None,
  vpc: IVpc = None,
  wait_on_deploy: bool = None
)
  • scope: Construct

  • id: str

  • architecture?: Architecture

    Image architecture.

    Default: Architecture.X86_64

  • aws_image_builder_options?: AwsImageBuilderRunnerImageBuilderProps

    Options specific to AWS Image Builder.

    Only used when RunnerImageBuilderProps.builderType is RunnerImageBuilderType.AWS_IMAGE_BUILDER.

  • base_ami?: BaseImage

    Base AMI from which runner AMIs will be built.

    This can be a BaseImage instance created using static factory methods:

    For example BaseImage.fromImageBuilder(scope, 'ubuntu-server-22-lts-x86') would always use the latest version of Ubuntu 22.04 in each build. If you want a specific version, you can pass the version as the third parameter.

    Default: latest Ubuntu 22.04 AMI for Os.LINUX_UBUNTU and Os.LINUX_UBUNTU_2204, Ubuntu 24.04 AMI for Os.LINUX_UBUNTU_2404, latest Amazon Linux 2 AMI for Os.LINUX_AMAZON_2, latest Windows Server 2022 AMI for Os.WINDOWS

  • base_docker_image?: BaseContainerImage

    Base image from which Docker runner images will be built.

    This can be a BaseContainerImage instance created using static factory methods:

    When using private images from a different account or not on ECR, you may need to include additional setup commands with RunnerImageBuilderProps.dockerSetupCommands.

    Default: public.ecr.aws/lts/ubuntu:22.04 for Os.LINUX_UBUNTU and Os.LINUX_UBUNTU_2204, public.ecr.aws/lts/ubuntu:24.04 for Os.LINUX_UBUNTU_2404, public.ecr.aws/amazonlinux/amazonlinux:2 for Os.LINUX_AMAZON_2, mcr.microsoft.com/windows/servercore:ltsc2019-amd64 for Os.WINDOWS

  • builder_type?: RunnerImageBuilderType

    Default: CodeBuild for Linux Docker image, AWS Image Builder for Windows Docker image and any AMI

  • code_build_options?: CodeBuildRunnerImageBuilderProps

    Options specific to CodeBuild image builder.

    Only used when RunnerImageBuilderProps.builderType is RunnerImageBuilderType.CODE_BUILD.

  • components?: typing.List[RunnerImageComponent]

    Components to install on the image.

    Default: none

  • docker_setup_commands?: typing.List[str]

    Additional commands to run on the build host before starting the Docker runner image build.

    Use this to execute commands such as docker login or aws ecr get-login-password to pull private base images.

    Default: []

  • log_removal_policy?: RemovalPolicy

    Removal policy for logs of image builds.

    If deployment fails on the custom resource, try setting this to RemovalPolicy.RETAIN. This way the CodeBuild logs can still be viewed, and you can see why the build failed.

    We try to not leave anything behind when removed. But sometimes a log staying behind is useful.

    Default: RemovalPolicy.DESTROY

  • log_retention?: RetentionDays

    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

  • os?: Os

    Image OS.

    Default: OS.LINUX_UBUNTU

  • rebuild_interval?: Duration

    Schedule the image to be rebuilt every given interval.

    Useful for keeping the image up-do-date with the latest GitHub runner version and latest OS updates.

    Set to zero to disable.

    Default: Duration.days(7)

  • runner_version?: RunnerVersion

    Version of GitHub Runners to install.

    Default: latest version available

  • security_groups?: typing.List[ISecurityGroup]

    Security Groups to assign to this instance.

  • subnet_selection?: SubnetSelection

    Where to place the network interfaces within the VPC.

    Default: no subnet

  • vpc?: IVpc

    VPC to build the image in.

    Default: no VPC

  • wait_on_deploy?: bool

    Wait for image to finish building during deployment.

    It's usually best to leave this enabled to ensure everything is ready once deployment is done. However, it can be disabled to speed up deployment in case where you have a lot of image components that can take a long time to build.

    Disabling this option means a finished deployment is not ready to be used. You will have to wait for the image to finish building before the system can be used.

    Disabling this option may also mean any changes to settings or components can take up to a week (default rebuild interval) to take effect.

    Default: true

java
import com.cloudsnorkel.cdk.github.runners.EcsRunnerProvider;

EcsRunnerProvider.imageBuilder(Construct scope, java.lang.String id),EcsRunnerProvider.imageBuilder(Construct scope, java.lang.String id, RunnerImageBuilderProps props)
csharp
using CloudSnorkel;

EcsRunnerProvider.ImageBuilder(Construct Scope, string Id, RunnerImageBuilderProps Props = null);
go
import "github.com/CloudSnorkel/cdk-github-runners-go/cloudsnorkelcdkgithubrunners"

cloudsnorkelcdkgithubrunners.EcsRunnerProvider_ImageBuilder(scope Construct, id *string, props RunnerImageBuilderProps) IConfigurableRunnerImageBuilder

Properties ​

nodenodenodeNodeNode ​

node: Node

node: Node

node: Node

Node: Node

Node: Node

The tree node.

capacityProvidercapacity_providercapacityProviderCapacityProviderCapacityProvider ​

capacityProvider: AsgCapacityProvider

capacity_provider: AsgCapacityProvider

capacityProvider: AsgCapacityProvider

CapacityProvider: AsgCapacityProvider

CapacityProvider: AsgCapacityProvider

Capacity provider used to scale the cluster.

Use capacityProvider.autoScalingGroup to access the auto scaling group. This can help set up custom scaling policies.

connectionsconnectionsconnectionsConnectionsConnections ​

connections: Connections

connections: Connections

connections: Connections

Connections: Connections

Connections: Connections

The network connections associated with this resource.

grantPrincipalgrant_principalgrantPrincipalGrantPrincipalGrantPrincipal ​

grantPrincipal: IPrincipal

grant_principal: IPrincipal

grantPrincipal: IPrincipal

GrantPrincipal: IPrincipal

GrantPrincipal: IPrincipal

Grant principal used to add permissions to the runner role.

labelslabelslabelsLabelsLabels ​

labels: string[]

labels: typing.List[str]

labels: java.util.List<java.lang.String>

Labels: string[]

Labels: *[]*string

Labels associated with this provider.

logGrouplog_grouplogGroupLogGroupLogGroup ​

logGroup: ILogGroup

log_group: ILogGroup

logGroup: ILogGroup

LogGroup: ILogGroup

LogGroup: ILogGroup

Log group where provided runners will save their logs.

Note that this is not the job log, but the runner itself. It will not contain output from the GitHub Action but only metadata on its execution.

Released under the Apache-2.0 License.