Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

114
Views
How to access parameters passed on creation of a batch job in a Node.js application
 let params = {
      jobDefinition: JOB_DEFINITION,
      jobName: uuid(),
      jobQueue: JOB_QUEUE,
      parameters: {
        bucketName: IMAGES_BUCKET,
        imageName: event.imageName,
        dynamoTable: IMAGES_BUCKET
      }

 result = await client.submitJob(params).promise()

parameters passed in a lambda function which creates an AWS batch job, I need to be access in a Node.js application can anyone guide me how to do it

require 'optparse'
    options = {}
    OptionParser.new do |opts|
    opts.banner = "Usage: process_image.rb [options]"
  opts.on("-b", "--bucketName BUCKET_NAME", "S3 Bucket Name") { |v| options[:bucket_name] = v}
  opts.on("-i", "--imageName IMAGE_NAME", "Image Name") { |v| options[:image_name] = v }
 opts.on("-d", "--dynamodbTable DYNAMODB_TABLE", "DynamoDB Table") { |v|options[:dynamodb_table]= v}
        end.parse!

this is how it is done in ruby

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!