Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

231
Vistas
Is it possible to use Regex expressions in the nodeJS aws sdk?

I can run this AWS cli command and get the correct images created in the past 45 days.

 aws ec2 describe-images --region us-east-1 --owners self  -- query'Images[CreationDate<`2021-12-18`] | sort_by(@, &CreationDate)[].Name'

But following this documentation:https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/EC2.html#describeImages-property Is there a way to input a regex in order to get the Images that were created in the last X days? I can't find a way to query like this in NodeJs's aws sdk.

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

The --query parameter in the AWS CLI tool is a client-side filtering method. The full results will be returned from AWS, and then the --query parameters are applied to the JSON response that was returned.

The equivalent of this in NodeJS would be to call the AWS SDK and get all the results back, and then iterate over the results and apply your regex, or use some sort of JSON filtering library on the results after you have obtained them.

about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda