Steadybit logoResilience Hub
Try SteadybitGitHub icon
Steadybit logoResilience Hub

Inject Exception

AttackAttack
Injects exception into the function
Targets:
AWS Lambdas
Install now

Inject Exception

Injects exception into the function
AttackAttack
Targets:
AWS Lambdas
Install now

Inject Exception

AttackAttack
Injects exception into the function
Targets:
AWS Lambdas
Install now

Inject Exception

Injects exception into the function
AttackAttack
Targets:
AWS Lambdas
Install now
Go back to list
The Inject Exception step within the experiment editor.The Inject Exception step within the experiment editor.

Introduction

This action injects exceptions into AWS Lambdas function executions.

Prerequisites

Details

This action uses the steadybit/failure-lambda library, a Node.js module that wraps AWS Lambda handlers to enable failure injection. Failure modes are configured via parameters stored in AWS Systems Manager Parameter Store, which are automatically removed after execution completes.

Activation and deactivation of failure modes typically complete within 5 seconds. However, middleware layers or caching mechanisms may extend this duration during both injection and recovery phases.

Use Cases

  • Validate behavior of upstream services and monitoring systems when Lambda functions return errors
  • Test error propagation and handling across distributed systems

Parameters

ParameterDescriptionDefault
DurationDuration of the attack30s
RatePercentage of invocations affected (100 = all invocations, 50 = half)100%
MessageException message thrown during execution

More AWS Lambda Actions

See all
Block TCP Connections
Blocks TCP connection to listed host(s)
AttackAttack
AWS Lambdas
Start Using Steadybit Today

Get started with Steadybit, and you’ll get access to all of our features to discover the full power of Steadybit. Available for SaaS and on-prem!

Are you unsure where to begin?

No worries, our reliability experts are here to help: book a demo with them!

Statistics
-Stars
Tags
AWS
AWS Lambda
Cloud
Homepage
hub.steadybit.com/extension/com.steadybit.extension_aws
License
MIT
MaintainerSteadybit
Install now
Steadybit logoResilience Hub
Try Steadybit
© 2025 Steadybit GmbH. All rights reserved.
Twitter iconLinkedIn iconGitHub icon