Skip to main content


A deno runtime for AWS Lambda. Deploy deno via docker, SAM, serverless, or bundle it yourself.
Go to Latest
interface CodePipelineCloudWatchPipelineEvent
import { type CodePipelineCloudWatchPipelineEvent } from "";

CodePipeline CloudWatch Events

The above CodePipelineEvent is when a lambda is invoked by a CodePipeline. These events are when you subscribe to CodePipeline events in CloudWatch.

Their documentation says that detail.version is a string, but it is actually an integer


version: string
id: string
detail-type: "CodePipeline Pipeline Execution State Change"
source: "aws.codepipeline"
account: string
time: string
region: string
resources: string[]
detail: { pipeline: string; version: number; state: CodePipelineState; execution-id: string; }