Detector::Specification::AwsCdk
Constants
API_CONSTRUCT = Regex.union("RestApi", "HttpApi", "addResource", "add_resource", "addRoutes", "add_routes")
PYTHON_HINT_MARKER = Regex.union("from aws_cdk", "import aws_cdk", "aws_cdk.aws_apigateway")
TS_JS_HINT_MARKER = Regex.union("aws-cdk-lib", "@aws-cdk/aws-apigateway", "@aws-cdk/aws-apigatewayv2")
Every .ts/.js/.py in the tree reaches these gates, so each was
walking the whole corpus three (hints) plus six (constructs) times.
Class methods
tech_name
The tech name without needing an instance, so the registry can be read off the classes themselves rather than from a parallel list.