Skip to content

Instantly share code, notes, and snippets.

@OksanaH
Created June 14, 2021 21:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save OksanaH/35fb66018251bf0b8594b63fd7f8e6c5 to your computer and use it in GitHub Desktop.
Save OksanaH/35fb66018251bf0b8594b63fd7f8e6c5 to your computer and use it in GitHub Desktop.
S3ObjectLambdaStack.cs
var function = new Function(this, "XMLTransformBody", new FunctionProps
{
Runtime = Runtime.DOTNET_CORE_3_1,
Code = Code.FromAsset("./TransformXMLLambda/bin/Release/netcoreapp3.1/publish"),
Handler = "TransformXML.Lambda::TransformXML.Lambda.Handler::Transform",
FunctionName = "XMLTransform",
Timeout = Duration.Minutes(1)
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment