openapi: '3.0.2' info: title: API Gateway IP Filtering Example API paths: "/restapis/spec/pythonFunction": get: x-amazon-apigateway-integration: httpMethod: POST type: AWS_PROXY uri: arn:${AWS::Partition}:apigateway:${AWS::Region}:lambda:path/2015-03-31/functions/arn:${AWS::Partition}:lambda:${AWS::Region}:${AWS::AccountId}:function:pythonFunc:$LATEST/invocations credentials: arn:${AWS::Partition}:iam::${AWS::AccountId}:role/SpecRestApiRole