Class Runtime
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.apprunner.alpha.Runtime
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)",
date="2024-09-11T18:01:25.439Z")
@Stability(Experimental)
public class Runtime
extends software.amazon.jsii.JsiiObject
(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();
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Field Summary
Modifier and TypeFieldDescriptionstatic final Runtime
(experimental) CORRETTO 11.static final Runtime
(experimental) CORRETTO 8.static final Runtime
(experimental) .NET 6.static final Runtime
(experimental) Go 1.18.static final Runtime
(experimental) NodeJS 12.static final Runtime
(experimental) NodeJS 14.static final Runtime
(experimental) NodeJS 16.static final Runtime
(experimental) NodeJS 18.static final Runtime
(experimental) PHP 8.1.static final Runtime
(experimental) Python 3.static final Runtime
(experimental) Python 3.11.static final Runtime
(experimental) Ruby 3.1. -
Constructor Summary
-
Method Summary
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CORRETTO_11
(experimental) CORRETTO 11. -
CORRETTO_8
(experimental) CORRETTO 8. -
DOTNET_6
(experimental) .NET 6. -
GO_1
(experimental) Go 1.18. -
NODEJS_12
(experimental) NodeJS 12. -
NODEJS_14
(experimental) NodeJS 14. -
NODEJS_16
(experimental) NodeJS 16. -
NODEJS_18
(experimental) NodeJS 18. -
PHP_81
(experimental) PHP 8.1. -
PYTHON_3
(experimental) Python 3. -
PYTHON_311
(experimental) Python 3.11. -
RUBY_31
(experimental) Ruby 3.1.
-
-
Constructor Details
-
Runtime
protected Runtime(software.amazon.jsii.JsiiObjectRef objRef) -
Runtime
protected Runtime(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
-
-
Method Details
-
of
(experimental) Other runtimes.- Parameters:
name
- runtime name. This parameter is required.- See Also:
-
getName
(experimental) The runtime name.
-