Module

x/lambda/types.d.ts>CodePipelineCloudWatchPipelineEvent

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 "https://dotland.deno.dev/x/lambda@1.42.2/types.d.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; }