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

com.cloudsnorkel.cdk.github.runners.IRunnerAmiStatus 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) AMI status returned from runner providers to be displayed as output of status function.
 */
@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.IRunnerAmiStatus")
@software.amazon.jsii.Jsii.Proxy(IRunnerAmiStatus.Jsii$Proxy.class)
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public interface IRunnerAmiStatus extends software.amazon.jsii.JsiiSerializable {

    /**
     * (experimental) Id of launch template pointing to the latest AMI built by the AMI builder.
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
    @org.jetbrains.annotations.NotNull java.lang.String getLaunchTemplate();

    /**
     * (experimental) Log group name for the AMI builder where history of builds can be analyzed.
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
    default @org.jetbrains.annotations.Nullable java.lang.String getAmiBuilderLogGroup() {
        return null;
    }

    /**
     * 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.IRunnerAmiStatus.Jsii$Default {
        protected Jsii$Proxy(final software.amazon.jsii.JsiiObjectRef objRef) {
            super(objRef);
        }

        /**
         * (experimental) Id of launch template pointing to the latest AMI built by the AMI builder.
         */
        @Override
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        public final @org.jetbrains.annotations.NotNull java.lang.String getLaunchTemplate() {
            return software.amazon.jsii.Kernel.get(this, "launchTemplate", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
        }

        /**
         * (experimental) Log group name for the AMI builder where history of builds can be analyzed.
         */
        @Override
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        public final @org.jetbrains.annotations.Nullable java.lang.String getAmiBuilderLogGroup() {
            return software.amazon.jsii.Kernel.get(this, "amiBuilderLogGroup", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
        }
    }

    /**
     * Internal default implementation for {@link IRunnerAmiStatus}.
     */
    @software.amazon.jsii.Internal
    interface Jsii$Default extends IRunnerAmiStatus {

        /**
         * (experimental) Id of launch template pointing to the latest AMI built by the AMI builder.
         */
        @Override
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        default @org.jetbrains.annotations.NotNull java.lang.String getLaunchTemplate() {
            return software.amazon.jsii.Kernel.get(this, "launchTemplate", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
        }

        /**
         * (experimental) Log group name for the AMI builder where history of builds can be analyzed.
         */
        @Override
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        default @org.jetbrains.annotations.Nullable java.lang.String getAmiBuilderLogGroup() {
            return software.amazon.jsii.Kernel.get(this, "amiBuilderLogGroup", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy