Class Runtime
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.apprunner.Runtime
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:40.057Z")
@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
-
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
-
NODEJS_12
(experimental) NodeJS 12. -
PYTHON_3
(experimental) Python 3.
-
-
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.
-