LambdaSharp modules can emit operational CloudWatch events on the default Amazon EventBridge when Core Services are enabled. These events correspond to runtime errors, function usage, as well as custom CloudWatch metrics.
The operational events are only emitted when Core Services is enabled, because they are generated by the Lambdasharp.Core module when ingesting the CloudWatch logs from the Lambda functions.
The following operational events are emitted:
- LambdaError Event when an error or warning is reported by a Lambda function either by the Lambda code itself or by the Lambda runtime.
- LambdaMetrics Event when the Lambda function emits a custom CloudWatch metrics record.
- LambdaUsage Event when a Lambda function has completed its execution.
The LambdaSharp events follow the CloudWatch Events schema with some values consistently filled in so they can be used to subscribe to specific events reliably.
source: LambdaSharp detail-type: $EVENT_TYPE detail: JSON # event type specific resources: - lambdasharp:stack:$STACK_ID - lambdasharp:module:$MODULE_FULL_NAME - lambdasharp:tier:$DEPLOYMENT_TIER
||The name of the deployment tier. Empty value for the default deployment tier.|
||The event type emitted. One of
||Full name of the originating module (e.g.
||The ID of the CloudFormation stack that was created for the module deployment.|