All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.cloudsnorkel.cdk.github.runners.IRunnerImageBuilder Maven / Gradle / Ivy

Go to download

CDK construct to create GitHub Actions self-hosted runners. A webhook listens to events and creates ephemeral runners on the fly.

There is a newer version: 0.14.6
Show newest version
package com.cloudsnorkel.cdk.github.runners;

/**
 * (experimental) Interface for constructs that build an image that can be used in {@link IRunnerProvider }.
 * 

* An image can be a Docker image or AMI. */ @javax.annotation.Generated(value = "jsii-pacmak/1.103.1 (build bef2dea)", date = "2024-09-14T02:42:19.513Z") @software.amazon.jsii.Jsii(module = com.cloudsnorkel.cdk.github.runners.$Module.class, fqn = "@cloudsnorkel/cdk-github-runners.IRunnerImageBuilder") @software.amazon.jsii.Jsii.Proxy(IRunnerImageBuilder.Jsii$Proxy.class) @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public interface IRunnerImageBuilder extends software.amazon.jsii.JsiiSerializable { /** * (experimental) Build and return an AMI with GitHub Runner installed in it. *

* Anything that ends up with a launch template pointing to an AMI that runs GitHub self-hosted runners can be used. A simple implementation could even point to an existing AMI and nothing else. *

* The AMI can be further updated over time manually or using a schedule as long as it is always written to the same launch template. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @org.jetbrains.annotations.NotNull com.cloudsnorkel.cdk.github.runners.RunnerAmi bindAmi(); /** * (experimental) Build and return a Docker image with GitHub Runner installed in it. *

* Anything that ends up with an ECR repository containing a Docker image that runs GitHub self-hosted runners can be used. A simple implementation could even point to an existing image and nothing else. *

* It's important that the specified image tag be available at the time the repository is available. Providers usually assume the image is ready and will fail if it's not. *

* The image can be further updated over time manually or using a schedule as long as it is always written to the same tag. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @org.jetbrains.annotations.NotNull com.cloudsnorkel.cdk.github.runners.RunnerImage bindDockerImage(); /** * A proxy class which represents a concrete javascript instance of this type. */ @software.amazon.jsii.Internal final class Jsii$Proxy extends software.amazon.jsii.JsiiObject implements com.cloudsnorkel.cdk.github.runners.IRunnerImageBuilder.Jsii$Default { protected Jsii$Proxy(final software.amazon.jsii.JsiiObjectRef objRef) { super(objRef); } /** * (experimental) Build and return an AMI with GitHub Runner installed in it. *

* Anything that ends up with a launch template pointing to an AMI that runs GitHub self-hosted runners can be used. A simple implementation could even point to an existing AMI and nothing else. *

* The AMI can be further updated over time manually or using a schedule as long as it is always written to the same launch template. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @Override public final @org.jetbrains.annotations.NotNull com.cloudsnorkel.cdk.github.runners.RunnerAmi bindAmi() { return software.amazon.jsii.Kernel.call(this, "bindAmi", software.amazon.jsii.NativeType.forClass(com.cloudsnorkel.cdk.github.runners.RunnerAmi.class)); } /** * (experimental) Build and return a Docker image with GitHub Runner installed in it. *

* Anything that ends up with an ECR repository containing a Docker image that runs GitHub self-hosted runners can be used. A simple implementation could even point to an existing image and nothing else. *

* It's important that the specified image tag be available at the time the repository is available. Providers usually assume the image is ready and will fail if it's not. *

* The image can be further updated over time manually or using a schedule as long as it is always written to the same tag. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @Override public final @org.jetbrains.annotations.NotNull com.cloudsnorkel.cdk.github.runners.RunnerImage bindDockerImage() { return software.amazon.jsii.Kernel.call(this, "bindDockerImage", software.amazon.jsii.NativeType.forClass(com.cloudsnorkel.cdk.github.runners.RunnerImage.class)); } } /** * Internal default implementation for {@link IRunnerImageBuilder}. */ @software.amazon.jsii.Internal interface Jsii$Default extends IRunnerImageBuilder { /** * (experimental) Build and return an AMI with GitHub Runner installed in it. *

* Anything that ends up with a launch template pointing to an AMI that runs GitHub self-hosted runners can be used. A simple implementation could even point to an existing AMI and nothing else. *

* The AMI can be further updated over time manually or using a schedule as long as it is always written to the same launch template. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @Override default @org.jetbrains.annotations.NotNull com.cloudsnorkel.cdk.github.runners.RunnerAmi bindAmi() { return software.amazon.jsii.Kernel.call(this, "bindAmi", software.amazon.jsii.NativeType.forClass(com.cloudsnorkel.cdk.github.runners.RunnerAmi.class)); } /** * (experimental) Build and return a Docker image with GitHub Runner installed in it. *

* Anything that ends up with an ECR repository containing a Docker image that runs GitHub self-hosted runners can be used. A simple implementation could even point to an existing image and nothing else. *

* It's important that the specified image tag be available at the time the repository is available. Providers usually assume the image is ready and will fail if it's not. *

* The image can be further updated over time manually or using a schedule as long as it is always written to the same tag. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @Override default @org.jetbrains.annotations.NotNull com.cloudsnorkel.cdk.github.runners.RunnerImage bindDockerImage() { return software.amazon.jsii.Kernel.call(this, "bindDockerImage", software.amazon.jsii.NativeType.forClass(com.cloudsnorkel.cdk.github.runners.RunnerImage.class)); } } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy