software.amazon.awscdk.services.apprunner.alpha.Runtime Maven / Gradle / Ivy
Show all versions of apprunner-alpha Show documentation
package software.amazon.awscdk.services.apprunner.alpha;
/**
* (experimental) The code runtimes.
*/
@javax.annotation.Generated(value = "jsii-pacmak/1.40.0 (build 9713b9d)", date = "2021-10-27T10:32:43.153Z")
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@software.amazon.jsii.Jsii(module = software.amazon.awscdk.services.apprunner.alpha.$Module.class, fqn = "@aws-cdk/aws-apprunner-alpha.Runtime")
public class Runtime extends software.amazon.jsii.JsiiObject {
protected Runtime(final software.amazon.jsii.JsiiObjectRef objRef) {
super(objRef);
}
protected Runtime(final software.amazon.jsii.JsiiObject.InitializationMode initializationMode) {
super(initializationMode);
}
static {
NODEJS_12 = software.amazon.jsii.JsiiObject.jsiiStaticGet(software.amazon.awscdk.services.apprunner.alpha.Runtime.class, "NODEJS_12", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.apprunner.alpha.Runtime.class));
PYTHON_3 = software.amazon.jsii.JsiiObject.jsiiStaticGet(software.amazon.awscdk.services.apprunner.alpha.Runtime.class, "PYTHON_3", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.apprunner.alpha.Runtime.class));
}
/**
* (experimental) Other runtimes.
*
* @see https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-service-codeconfigurationvalues.html#cfn-apprunner-service-codeconfigurationvalues-runtime for all available runtimes.
* @param name runtime name. This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public static @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.apprunner.alpha.Runtime of(final @org.jetbrains.annotations.NotNull java.lang.String name) {
return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.awscdk.services.apprunner.alpha.Runtime.class, "of", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.apprunner.alpha.Runtime.class), new Object[] { java.util.Objects.requireNonNull(name, "name is required") });
}
/**
* (experimental) NodeJS 12.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public final static software.amazon.awscdk.services.apprunner.alpha.Runtime NODEJS_12;
/**
* (experimental) Python 3.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public final static software.amazon.awscdk.services.apprunner.alpha.Runtime PYTHON_3;
/**
* (experimental) The runtime name.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public @org.jetbrains.annotations.NotNull java.lang.String getName() {
return software.amazon.jsii.Kernel.get(this, "name", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
}
}