AWS
get_function_memory_size
Get the configured memory size of a lambda function
Throttles Lambda by setting reserved concurrency amount
Below are the details and signature of the activity Python module.
Type | action |
Module | chaosaws.awslambda.actions |
Name | put_function_concurrency |
Return | mapping |
Usage
JSON
{
"name": "put-function-concurrency",
"type": "action",
"provider": {
"type": "python",
"module": "chaosaws.awslambda.actions",
"func": "put_function_concurrency",
"arguments": {
"function_name": "",
"concurrent_executions": 0
}
}
}
YAML
name: put-function-concurrency
provider:
arguments:
concurrent_executions: 0
function_name: ""
func: put_function_concurrency
module: chaosaws.awslambda.actions
type: python
type: action
Arguments
Name | Type | Default | Required | Title | Description |
---|---|---|---|---|---|
function_name | string | Yes | Function Name | Name of the function | |
concurrent_executions | integer | Yes | Concurrency | New execution concurrency set on the function |
Signature
def put_function_concurrency(
function_name: str,
concurrent_executions: int,
configuration: Dict[str, Dict[str, str]] = None,
secrets: Dict[str, Dict[str, str]] = None) -> Dict[str, Any]:
pass