AWS variables for OpenAPI import
You can use the following AWS variables in OpenAPI definitions. API Gateway resolves the variables when the API is imported. To specify a variable,
            use ${. The following table describes the available AWS variables. variable-name}
| Variable name | Description | 
|---|---|
| AWS::AccountId | The AWS account ID that imports the API. For example, 123456789012. | 
| AWS::Partition | The AWS partition in which the API is imported. For standard AWS Regions, the partition is aws. | 
| AWS::Region | The AWS Region in which the API is imported. For example, us-east-2. | 
AWS variables example
The following example uses AWS variables to specify an AWS Lambda function for an integration.