Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/lambda/mod.ts>CodePipelineCloudWatchPipelineEvent

A deno runtime for AWS Lambda. Deploy deno via docker, SAM, serverless, or bundle it yourself.
Very Popular
Go to Latest
interface CodePipelineCloudWatchPipelineEvent
import { type CodePipelineCloudWatchPipelineEvent } from "https://deno.land/x/lambda@1.26.1/mod.ts";

CodePipeline CloudWatch Events https://docs.aws.amazon.com/codepipeline/latest/userguide/detect-state-changes-cloudwatch-events.html

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

Properties

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; }