event.path method in aws cdk code example Example: cdk gateway tutorial npm install @aws-cdk/aws-apigateway