Find an entry-point file in the customer app that represents a CDK app.
The basePath parameter controls which file is resolved:
basePath
'amplify/backend'
amplify/backend.(ts|js|cjs|mjs)
'amplify/hosting'
amplify/hosting.(ts|js|cjs|mjs)
Constructor for BackendLocator
Returns true when at least one of the supported file extensions exists for this entry point on disk.
Find an entry-point file in the customer app that represents a CDK app.
The
basePathparameter controls which file is resolved:'amplify/backend'(default) →amplify/backend.(ts|js|cjs|mjs)'amplify/hosting'→amplify/hosting.(ts|js|cjs|mjs)