Skip to content

Lambda  >  Operations  >  get_runtime_management_config

get_runtime_management_config

Operation

get_runtime_management_config async

get_runtime_management_config(input: GetRuntimeManagementConfigInput, plugins: list[Plugin] | None = None) -> GetRuntimeManagementConfigOutput

Retrieves the runtime management configuration for a function's version. If the runtime update mode is Manual, this includes the ARN of the runtime version and the runtime update mode. If the runtime update mode is Auto or Function update, this includes the runtime update mode and null is returned for the ARN. For more information, see Runtime updates.

Parameters:

Name Type Description Default
input GetRuntimeManagementConfigInput

An instance of GetRuntimeManagementConfigInput.

required
plugins list[Plugin] | None

A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations.

None

Returns:

Type Description
GetRuntimeManagementConfigOutput

An instance of GetRuntimeManagementConfigOutput.

Input

GetRuntimeManagementConfigInput dataclass

Dataclass for GetRuntimeManagementConfigInput structure.

Attributes

function_name class-attribute instance-attribute
function_name: str | None = None

The name or ARN of the Lambda function.

Name formats

  • Function name -- my-function.

  • Function ARN -- arn:aws:lambda:us-west-2:123456789012:function:my-function.

  • Partial ARN -- 123456789012:function:my-function.

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

qualifier class-attribute instance-attribute
qualifier: str | None = None

Specify a version of the function. This can be $LATEST or a published version number. If no value is specified, the configuration for the $LATEST version is returned.

Output

GetRuntimeManagementConfigOutput dataclass

Dataclass for GetRuntimeManagementConfigOutput structure.

Attributes

function_arn class-attribute instance-attribute
function_arn: str | None = None

The Amazon Resource Name (ARN) of your function.

runtime_version_arn class-attribute instance-attribute
runtime_version_arn: str | None = None

The ARN of the runtime the function is configured to use. If the runtime update mode is Manual, the ARN is returned, otherwise null is returned.

update_runtime_on class-attribute instance-attribute
update_runtime_on: UpdateRuntimeOn | None = None

The current runtime update mode of the function.