probeLambda

get_function_concurrency

Get configuration information of lambda by its function name

Activity as code

Below are the details and signature of the activity Python module.

Typeprobe
Modulechaosaws.awslambda.probes
Nameget_function_concurrency
Returnboolean

Usage

JSON

{
  "name": "get-function-concurrency",
  "type": "probe",
  "provider": {
    "type": "python",
    "module": "chaosaws.awslambda.probes",
    "func": "get_function_concurrency",
    "arguments": {
      "function_name": ""
    }
  }
}

YAML

name: get-function-concurrency
provider:
  arguments:
    function_name: ""
  func: get_function_concurrency
  module: chaosaws.awslambda.probes
  type: python
type: probe

Arguments

NameTypeDefaultRequiredTitleDescription
function_namestringYesFunction NameName of the function

Signature

def get_function_concurrency(
        function_name: str,
        configuration: Dict[str, Dict[str, str]] = None,
        secrets: Dict[str, Dict[str, str]] = None) -> bool:
    pass