Files
swift-aws-lambda-runtime/Examples/CDK/infra/bin/deploy.ts
T
Sébastien Stormacq 18660fcdd1 [examples] Add CDK deployment example (#431)
added an example showing how to deploy with the CDK
This code is the basis for the upcoming CDK section in the deployment
guide
2024-12-21 10:39:13 +01:00

20 lines
705 B
TypeScript

//===----------------------------------------------------------------------===//
//
// This source file is part of the SwiftAWSLambdaRuntime open source project
//
// Copyright (c) 2024 Apple Inc. and the SwiftAWSLambdaRuntime project authors
// Licensed under Apache License v2.0
//
// See LICENSE.txt for license information
// See CONTRIBUTORS.txt for the list of SwiftAWSLambdaRuntime project authors
//
// SPDX-License-Identifier: Apache-2.0
//
//===----------------------------------------------------------------------===//
import * as cdk from 'aws-cdk-lib';
import { LambdaApiStack } from '../lib/lambda-api-project-stack';
const app = new cdk.App();
new LambdaApiStack(app, 'LambdaApiStack');