probe Lambda

list_event_source_mapping

List event source mappings for the provided lambda function or ARN of the event source

Run it now
View details
Typeprobe
Modulechaosaws.awslambda.probes
Namelist_event_source_mapping
Returnmapping

Usage

JSON

{
  "name": "list-event-source-mapping",
  "type": "probe",
  "provider": {
    "type": "python",
    "module": "chaosaws.awslambda.probes",
    "func": "list_event_source_mapping"
  }
}

YAML

name: list-event-source-mapping
provider:
  func: list_event_source_mapping
  module: chaosaws.awslambda.probes
  type: python
type: probe

Arguments

NameTypeDefaultRequiredTitleDescription
source_arnstringnullNoSourceARN of the event source
function_namestringnullNoFunction Name

Signature

def list_event_source_mapping(
        source_arn: str = None,
        function_name: str = None,
        configuration: Dict[str, Dict[str, str]] = None,
        secrets: Dict[str, Dict[str, str]] = None) -> Dict[str, Any]:
    pass