using Amazon.Lambda.CloudWatchEvents; using Amazon.Lambda.Core; // Assembly attribute to enable the Lambda function's JSON input to be converted into a .NET class. [assembly: LambdaSerializer(typeof(Amazon.Lambda.Serialization.SystemTextJson.DefaultLambdaJsonSerializer))] namespace EventBridgeLambda; public class Function { /// /// A simple function that triggers after scheduled time period & logs time of calling. /// /// /// public void FunctionHandler(CloudWatchEvent input, ILambdaContext context) { context.Logger.LogInformation($"Amazon EventBridge Scheduler triggered at : {input.Time} "); } }