put_function_scaling_config¶
Operation¶
put_function_scaling_config
async
¶
put_function_scaling_config(input: PutFunctionScalingConfigInput, plugins: list[Plugin] | None = None) -> PutFunctionScalingConfigOutput
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.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
PutFunctionScalingConfigInput
|
An instance of |
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 |
|---|---|
PutFunctionScalingConfigOutput
|
An instance of |
Input¶
PutFunctionScalingConfigInput
dataclass
¶
Dataclass for PutFunctionScalingConfigInput structure.
Attributes¶
function_name
class-attribute
instance-attribute
¶
function_name: str | None = None
The name or ARN of the Lambda function.
function_scaling_config
class-attribute
instance-attribute
¶
function_scaling_config: FunctionScalingConfig | None = None
The scaling configuration to apply to the function, including minimum and maximum execution environment limits.
qualifier
class-attribute
instance-attribute
¶
qualifier: str | None = None
Specify a version or alias to set the scaling configuration for a published version of the function.