Skip to content

Put Function Scaling Config

lambda_put_function_scaling_config R Documentation

Sets the scaling configuration for a Lambda Managed Instances function

Description

Sets the scaling configuration for a Lambda Managed Instances function. The scaling configuration defines the minimum and maximum number of execution environments that can be provisioned for the function, allowing you to control scaling behavior and resource allocation.

Usage

lambda_put_function_scaling_config(FunctionName, Qualifier,
  FunctionScalingConfig)

Arguments

FunctionName

[required] The name or ARN of the Lambda function.

Qualifier

[required] Specify a version or alias to set the scaling configuration for a published version of the function.

FunctionScalingConfig

The scaling configuration to apply to the function, including minimum and maximum execution environment limits.

Value

A list with the following syntax:

list(
  FunctionState = "Pending"|"Active"|"Inactive"|"Failed"|"Deactivating"|"Deactivated"|"ActiveNonInvocable"|"Deleting"
)

Request syntax

svc$put_function_scaling_config(
  FunctionName = "string",
  Qualifier = "string",
  FunctionScalingConfig = list(
    MinExecutionEnvironments = 123,
    MaxExecutionEnvironments = 123
  )
)