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

611
Vistas
AWS APIGateway: How do I get my API URL using AWS CLI?

I'm running a script using AWS CLI to define and deploy an AWS API Gateway. I'm able to get my API id as well as the deployment id with commands like this:

API_ID=$(aws apigateway get-rest-apis --query "items[?name=='my-api'].id" --output text)
DEPLOYMENT_ID=$(aws apigateway get-stage --rest-api-id $API_ID --stage-name dev --query "deploymentId" --output text)

Now, given that I have my API id and my deployment id, how do I get the API URL, i.e. the information appearing in the API Gateway console when you navigate to API->my-api->stages->dev ?

Many thanks in advance.

Seymour

over 4 years ago · Santiago Trujillo
1 Respuestas
Responde la pregunta

0

Simple solution is https://$API_ID.execute-api.$AWS_REGION.amazonaws.com/$STAGE_NAME

over 4 years ago · Santiago Trujillo 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