API Gateway 10.5 | Using API Gateway | Usage Scenarios | Custom Policy Extension | How Do I Invoke an AWS Lambda Function using Custom Extension? | Configuring an AWS Alias
 
Configuring an AWS Alias
Configure an AWS alias if you are using a custom extension that calls an AWS Lamdba function from within a runtime policy enforcement flow of API Gateway API.
*To configure an AWS alias
1. On the title bar, expand the menu options icon and select Administration.
2. Click External accounts > AWS configuration.
3. Click Add new AWS account.
4. In the Add AWS configuration section, provide the following information
a. Name. Provide the AWS alias name.
b. Description. Optional. Provide a description for the alias.
c. Region. Provide the AWS account region where the Lambda function is running or deployed.
For details on how to create an AWS Lambda function, see https://docs.aws.amazon.com/lambda/latest/dg/getting-started.html
d. Access key ID. Provide the access key ID of the AWS account where the Lambda function is running.
e. Secret access key. Provide the secret access key of the AWS account where the Lambda function is running.
5. Click Add.
This creates the AWS alias and lists in the AWS configuration page.