@Generated(value="jsii-pacmak/1.14.0 (build 729554b)", date="2020-10-29T17:34:18.534Z") @Stability(value=Stable) public class Runtime extends software.amazon.jsii.JsiiObject
If you need to use a runtime name that doesn't exist as a static member, you
can instantiate a Runtime object, e.g: new Runtime('nodejs99.99').
| Modifier and Type | Class and Description |
|---|---|
static class |
Runtime.Builder
A fluent builder for
Runtime. |
| Modifier and Type | Field and Description |
|---|---|
static List<Runtime> |
ALL
A list of all known `Runtime`'s.
|
static Runtime |
DOTNET_CORE_1
Deprecated.
Use
DOTNET_CORE_2_1 |
static Runtime |
DOTNET_CORE_2
Deprecated.
Use
DOTNET_CORE_2_1 |
static Runtime |
DOTNET_CORE_2_1
The .NET Core 2.1 runtime (dotnetcore2.1).
|
static Runtime |
DOTNET_CORE_3_1
The .NET Core 3.1 runtime (dotnetcore3.1).
|
static Runtime |
GO_1_X
The Go 1.x runtime (go1.x).
|
static Runtime |
JAVA_11
The Java 11 runtime (java11).
|
static Runtime |
JAVA_8
The Java 8 runtime (java8).
|
static Runtime |
JAVA_8_CORRETTO
The Java 8 Corretto runtime (java8.al2).
|
static Runtime |
NODEJS
Deprecated.
Use
NODEJS_10_X |
static Runtime |
NODEJS_10_X
The NodeJS 10.x runtime (nodejs10.x).
|
static Runtime |
NODEJS_12_X
The NodeJS 12.x runtime (nodejs12.x).
|
static Runtime |
NODEJS_4_3
Deprecated.
Use
NODEJS_10_X |
static Runtime |
NODEJS_6_10
Deprecated.
Use
NODEJS_10_X |
static Runtime |
NODEJS_8_10
Deprecated.
Use
NODEJS_10_X |
static Runtime |
PROVIDED
The custom provided runtime (provided).
|
static Runtime |
PROVIDED_AL2
The custom provided runtime (provided).
|
static Runtime |
PYTHON_2_7
The Python 2.7 runtime (python2.7).
|
static Runtime |
PYTHON_3_6
The Python 3.6 runtime (python3.6).
|
static Runtime |
PYTHON_3_7
The Python 3.7 runtime (python3.7).
|
static Runtime |
PYTHON_3_8
The Python 3.8 runtime (python3.8).
|
static Runtime |
RUBY_2_5
The Ruby 2.5 runtime (ruby2.5).
|
static Runtime |
RUBY_2_7
The Ruby 2.7 runtime (ruby2.7).
|
| Modifier | Constructor and Description |
|---|---|
protected |
Runtime(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
Runtime(software.amazon.jsii.JsiiObjectRef objRef) |
|
Runtime(String name) |
|
Runtime(String name,
RuntimeFamily family) |
|
Runtime(String name,
RuntimeFamily family,
LambdaRuntimeProps props) |
| Modifier and Type | Method and Description |
|---|---|
BundlingDockerImage |
getBundlingDockerImage()
The bundling Docker image for this runtime.
|
RuntimeFamily |
getFamily()
The runtime family.
|
String |
getName()
The name of this runtime, as expected by the Lambda resource.
|
Boolean |
getSupportsInlineCode()
Whether the ``ZipFile`` (aka inline code) property can be used with this runtime.
|
Boolean |
runtimeEquals(Runtime other) |
String |
toString() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Deprecated) @Deprecated public static final Runtime DOTNET_CORE_1
DOTNET_CORE_2_1@Stability(value=Deprecated) @Deprecated public static final Runtime DOTNET_CORE_2
DOTNET_CORE_2_1@Stability(value=Stable) public static final Runtime DOTNET_CORE_2_1
@Stability(value=Stable) public static final Runtime DOTNET_CORE_3_1
@Stability(value=Stable) public static final Runtime GO_1_X
@Stability(value=Stable) public static final Runtime JAVA_11
@Stability(value=Stable) public static final Runtime JAVA_8
@Stability(value=Stable) public static final Runtime JAVA_8_CORRETTO
@Stability(value=Deprecated) @Deprecated public static final Runtime NODEJS
NODEJS_10_X@Stability(value=Stable) public static final Runtime NODEJS_10_X
@Stability(value=Stable) public static final Runtime NODEJS_12_X
@Stability(value=Deprecated) @Deprecated public static final Runtime NODEJS_4_3
NODEJS_10_X@Stability(value=Deprecated) @Deprecated public static final Runtime NODEJS_6_10
NODEJS_10_X@Stability(value=Deprecated) @Deprecated public static final Runtime NODEJS_8_10
NODEJS_10_X@Stability(value=Stable) public static final Runtime PROVIDED
@Stability(value=Stable) public static final Runtime PROVIDED_AL2
@Stability(value=Stable) public static final Runtime PYTHON_2_7
@Stability(value=Stable) public static final Runtime PYTHON_3_6
@Stability(value=Stable) public static final Runtime PYTHON_3_7
@Stability(value=Stable) public static final Runtime PYTHON_3_8
@Stability(value=Stable) public static final Runtime RUBY_2_5
@Stability(value=Stable) public static final Runtime RUBY_2_7
protected Runtime(software.amazon.jsii.JsiiObjectRef objRef)
protected Runtime(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public Runtime(@NotNull
String name,
@Nullable
RuntimeFamily family,
@Nullable
LambdaRuntimeProps props)
name - This parameter is required.family - props - @Stability(value=Stable)
public Runtime(@NotNull
String name,
@Nullable
RuntimeFamily family)
name - This parameter is required.family - @Stability(value=Stable)
public Runtime(@NotNull
String name)
name - This parameter is required.@Stability(value=Stable) @NotNull public Boolean runtimeEquals(@NotNull Runtime other)
other - This parameter is required.@Stability(value=Stable) @NotNull public String toString()
@Stability(value=Stable) @NotNull public BundlingDockerImage getBundlingDockerImage()
@Stability(value=Stable) @NotNull public String getName()
@Stability(value=Stable) @NotNull public Boolean getSupportsInlineCode()
@Stability(value=Stable) @Nullable public RuntimeFamily getFamily()
Copyright © 2020. All rights reserved.