Skip to content

IRunnerProvider Interface ​

Interface for all runner providers.

This interface cannot be implemented by external code. If the built-in providers don't cover your use case, open an issue so we can discuss it.

Implements: IConnectable, IGrantable, IConstruct

Implemented by: CodeBuildRunnerProvider, Ec2RunnerProvider, EcsRunnerProvider, FargateRunnerProvider, LambdaRunnerProvider, MicroVmRunnerProvider, IRunnerProvider

Properties ​

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

The principal to grant permissions to.

nodenodenodeNodeNode ​

node: Node

node: Node

node: Node

Node: Node

Node: Node

The tree node.

labelslabelslabelsLabelsLabels ​

labels: string[]

labels: typing.List[str]

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

Labels: string[]

Labels: *[]*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 use 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.

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.