Examples of using Stage variable in English and their translations into French
{-}
-
Colloquial
-
Official
Set up Stage Variable for API Deployment.
Call Lambda function through API with a stage variable.
You can use a stage variable to reference the VpcLink ID.
Choose the check-mark icon to save this stage variable.
The syntax for inserting a stage variable looks like this:$stageVariables.
Access an HTTP endpoint through an API with a stage variable.
We will use the function stage variable declared earlier.
Choose the checkmark icon to save the setting for the stage variable.
For more information,see Set up Stage Variable for API Deployment.
Pass stage-specific metadata to a Lambda function via a stage variable.
Make sure to double-quote the stage variable expression${stageVariables.
Using a stage variable, you set the connectionId property when creating the integration.
This is necessary if you have used the stage variable as a placeholder of the VpcLink ID.
A stage variable can be used as part of an HTTP integration URL, as shown in the following examples.
In the Stage Editor, choose the Stage Variables tab andchoose Add Stage Variable.
A stage variable can be used anywhere in a mapping template, as shown in the following examples.
Alternatively, you can update the integration to reset the connectionId value with a stage variable.
To deploy the API with a stage variable, call the create-deployment command as follows.
This behavior does not apply when the private integration references VpcLink through a stage variable.
In a mapping template, a stage variable must be referenced within quotes as in"$stageVariables.