Skip to content

Application

Source: src/AWS/CodeDeploy/Application.ts

An AWS CodeDeploy application — a logical container that groups the deployment groups and revisions for a single deployable unit on a given compute platform (EC2/on-prem Server, Lambda, or ECS).

Lambda Application

const app = yield* CodeDeploy.Application("api", {
computePlatform: "Lambda",
});

EC2/On-Premises Application

const app = yield* CodeDeploy.Application("web", {
applicationName: "web-fleet",
computePlatform: "Server",
tags: { team: "platform" },
});