APIGatewayEmulatorResource.WithAPIGatewayLambdaReference

Method
📦 Aspire.Hosting.AWS v13.7.4
type APIGatewayEmulatorResource interface {
// ... omitted for brevity
WithAPIGatewayLambdaReference(
lambda LambdaProjectResource,
httpMethod Method,
path string,
) APIGatewayEmulatorResource
}

Signature

methodWithAPIGatewayLambdaReferencebuilder
WithAPIGatewayLambdaReference(
lambda LambdaProjectResource,
httpMethod Method,
path string,
) APIGatewayEmulatorResource
lambdaLambdaProjectResource
httpMethodMethod
pathstring
APIGatewayEmulatorResource

Returns a handle; failures surface later via Err().

Defined on

This method is defined on the following type: