QuestionQ28

VerifiedDevelopment with AWS Services

A company has an Amazon API Gateway REST API that integrates with an AWS Lambda function. The API’s development stage references a development alias of the Lambda function named dev.

A developer needs make a production alias of the Lambda function named prod available through the API.

Which solution meets these requirements?

Explanation

Create a new API stage named 'production' and configure a stage variable to reference the prod Lambda alias. Stage variables enable environment-specific configurations without modifying the integration itself, following AWS best practices for managing multiple deployment environments through a single API.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!