Skip to content
DocsTry Aspire
DocsTry

addAWSLambdaFunction

Method
📦 Aspire.Hosting.AWS v13.7.2
interface IDistributedApplicationBuilder {
// ... omitted for brevity
addAWSLambdaFunction(
name: string,
projectPath: string,
lambdaHandler: string,
options?: LambdaFunctionPolyglotOptions): LambdaProjectResource;
}

Signature

methodaddAWSLambdaFunctionbuilder
addAWSLambdaFunction(
name: string,
projectPath: string,
lambdaHandler: string,
options?: LambdaFunctionPolyglotOptions): LambdaProjectResource
namestring
projectPathstring
lambdaHandlerstring
optionsLambdaFunctionPolyglotOptionsoptional
LambdaProjectResource

Applies to

This method applies to the following types: