actionLambda

delete_event_source_mapping

Delete an event source mapping

Activity as code

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

Typeaction
Modulechaosaws.awslambda.actions
Namedelete_event_source_mapping
Returnmapping

Usage

JSON

{
  "name": "delete-event-source-mapping",
  "type": "action",
  "provider": {
    "type": "python",
    "module": "chaosaws.awslambda.actions",
    "func": "delete_event_source_mapping",
    "arguments": {
      "event_uuid": ""
    }
  }
}

YAML

name: delete-event-source-mapping
provider:
  arguments:
    event_uuid: ""
  func: delete_event_source_mapping
  module: chaosaws.awslambda.actions
  type: python
type: action

Arguments

NameTypeDefaultRequiredTitleDescription
event_uuidstringYesEvent UUID

Signature

def delete_event_source_mapping(
        event_uuid: str,
        configuration: Dict[str, Dict[str, str]] = None,
        secrets: Dict[str, Dict[str, str]] = None) -> Dict[str, Any]:
    pass