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

software.amazon.awscdk.services.apprunner.alpha.Runtime Maven / Gradle / Ivy

package software.amazon.awscdk.services.apprunner.alpha;

/**
 * (experimental) The code runtimes.
 * 

* Example: *

*

 * Service.Builder.create(this, "Service")
 *         .source(Source.fromGitHub(GithubRepositoryProps.builder()
 *                 .repositoryUrl("https://github.com/aws-containers/hello-app-runner")
 *                 .branch("main")
 *                 .configurationSource(ConfigurationSourceType.API)
 *                 .codeConfigurationValues(CodeConfigurationValues.builder()
 *                         .runtime(Runtime.PYTHON_3)
 *                         .port("8000")
 *                         .startCommand("python app.py")
 *                         .buildCommand("yum install -y pycairo && pip install -r requirements.txt")
 *                         .build())
 *                 .connection(GitHubConnection.fromConnectionArn("CONNECTION_ARN"))
 *                 .build()))
 *         .build();
 * 
*/ @javax.annotation.Generated(value = "jsii-pacmak/1.71.0 (build f1f58ae)", date = "2022-11-27T21:20:59.396Z") @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 { CORRETTO_11 = software.amazon.jsii.JsiiObject.jsiiStaticGet(software.amazon.awscdk.services.apprunner.alpha.Runtime.class, "CORRETTO_11", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.apprunner.alpha.Runtime.class)); CORRETTO_8 = software.amazon.jsii.JsiiObject.jsiiStaticGet(software.amazon.awscdk.services.apprunner.alpha.Runtime.class, "CORRETTO_8", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.apprunner.alpha.Runtime.class)); DOTNET_6 = software.amazon.jsii.JsiiObject.jsiiStaticGet(software.amazon.awscdk.services.apprunner.alpha.Runtime.class, "DOTNET_6", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.apprunner.alpha.Runtime.class)); GO_1 = software.amazon.jsii.JsiiObject.jsiiStaticGet(software.amazon.awscdk.services.apprunner.alpha.Runtime.class, "GO_1", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.apprunner.alpha.Runtime.class)); 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)); NODEJS_14 = software.amazon.jsii.JsiiObject.jsiiStaticGet(software.amazon.awscdk.services.apprunner.alpha.Runtime.class, "NODEJS_14", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.apprunner.alpha.Runtime.class)); NODEJS_16 = software.amazon.jsii.JsiiObject.jsiiStaticGet(software.amazon.awscdk.services.apprunner.alpha.Runtime.class, "NODEJS_16", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.apprunner.alpha.Runtime.class)); PHP_81 = software.amazon.jsii.JsiiObject.jsiiStaticGet(software.amazon.awscdk.services.apprunner.alpha.Runtime.class, "PHP_81", 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)); RUBY_31 = software.amazon.jsii.JsiiObject.jsiiStaticGet(software.amazon.awscdk.services.apprunner.alpha.Runtime.class, "RUBY_31", 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) CORRETTO 11. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public final static software.amazon.awscdk.services.apprunner.alpha.Runtime CORRETTO_11; /** * (experimental) CORRETTO 8. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public final static software.amazon.awscdk.services.apprunner.alpha.Runtime CORRETTO_8; /** * (experimental) .NET 6. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public final static software.amazon.awscdk.services.apprunner.alpha.Runtime DOTNET_6; /** * (experimental) Go 1.18. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public final static software.amazon.awscdk.services.apprunner.alpha.Runtime GO_1; /** * (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) NodeJS 14. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public final static software.amazon.awscdk.services.apprunner.alpha.Runtime NODEJS_14; /** * (experimental) NodeJS 16. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public final static software.amazon.awscdk.services.apprunner.alpha.Runtime NODEJS_16; /** * (experimental) PHP 8.1. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public final static software.amazon.awscdk.services.apprunner.alpha.Runtime PHP_81; /** * (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) Ruby 3.1. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public final static software.amazon.awscdk.services.apprunner.alpha.Runtime RUBY_31; /** * (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)); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy