LambdaCore / Client / create_runtime
create_runtime¶
- LambdaCore.Client.create_runtime(**kwargs)¶
Creates a customer-managed runtime, a resource providing a centrally managed execution environment for your Lambda functions. The runtime resource is the parent of the runtime version and runtime alias child resources.
See also: AWS API Documentation
Request Syntax
response = client.create_runtime( Name='string', Tags={ 'string': 'string' }, Description='string', LicenseInfo='string', ReleaseLifecycle={ 'ReleaseState': 'PREVIEW'|'GA'|'DEPRECATED', 'DeprecationDate': 'string', 'FunctionCreateBlockDate': 'string', 'FunctionUpdateBlockDate': 'string' } )
- Parameters:
Name (string) –
[REQUIRED]
The name of the runtime to create.
Tags (dict) –
A map of tag keys and values to associate with the runtime.
(string) –
A tag key.
(string) –
A tag value.
Description (string) – A description of the runtime.
LicenseInfo (string) – The license information for the runtime.
ReleaseLifecycle (dict) –
The runtime lifecycle for the runtime (optional). Use this to schedule runtime deprecation.
ReleaseState (string) –
Optional, with no default applied. DEPRECATED requires a DeprecationDate on or before today (UTC); PREVIEW and GA require a later one, or none. Reads report DEPRECATED once DeprecationDate is reached.
DeprecationDate (string) –
The date (UTC) on which the runtime or alias becomes deprecated.
FunctionCreateBlockDate (string) –
The date (UTC) on which creating new functions that use this runtime or alias is blocked.
FunctionUpdateBlockDate (string) –
The date (UTC) on which updating existing functions that use this runtime or alias is blocked.
- Return type:
dict
- Returns:
Response Syntax
{ 'Arn': 'string', 'Name': 'string', 'Description': 'string', 'LicenseInfo': 'string', 'ReleaseLifecycle': { 'ReleaseState': 'PREVIEW'|'GA'|'DEPRECATED', 'DeprecationDate': 'string', 'FunctionCreateBlockDate': 'string', 'FunctionUpdateBlockDate': 'string' }, 'Created': 'string', 'LastModified': 'string' }
Response Structure
(dict) –
Arn (string) –
The Amazon Resource Name (ARN) of the runtime.
Name (string) –
The name of the runtime.
Description (string) –
The description of the runtime.
LicenseInfo (string) –
The license information for the runtime.
ReleaseLifecycle (dict) –
The runtime lifecycle for the runtime. Used to schedule runtime deprecation.
ReleaseState (string) –
Optional, with no default applied. DEPRECATED requires a DeprecationDate on or before today (UTC); PREVIEW and GA require a later one, or none. Reads report DEPRECATED once DeprecationDate is reached.
DeprecationDate (string) –
The date (UTC) on which the runtime or alias becomes deprecated.
FunctionCreateBlockDate (string) –
The date (UTC) on which creating new functions that use this runtime or alias is blocked.
FunctionUpdateBlockDate (string) –
The date (UTC) on which updating existing functions that use this runtime or alias is blocked.
Created (string) –
The date and time when the runtime was created.
LastModified (string) –
The date and time when the runtime was last modified.
Exceptions