npx @raydeck/serverless-setup-appsync [options]
- -s --stage [stage] Stage for the stack we are examining (default from monorepo root)
- -r --region [region] Region for the stack (default us-east-1)
• appSyncPath: any
Defined in bin.ts:15
• region: any
Defined in bin.ts:15
• stage: any
Defined in bin.ts:15
▸ getConfig(__namedParameters
: object): Promise‹object›
Defined in index.ts:7
Parameters:
▪ __namedParameters: object
Name | Type | Default |
---|---|---|
appsyncPath |
undefined | string | - |
path |
string | process.cwd() |
region |
string | findRegion() |
stage |
string | findStage() ?? "dev" |
Returns: Promise‹object›
▸ writeConfig(config
: PromiseValue‹ReturnType‹typeof getConfig››, path
: string): void
Defined in index.ts:33
Parameters:
Name | Type | Default |
---|---|---|
config |
PromiseValue‹ReturnType‹typeof getConfig›› | - |
path |
string | join(process.cwd(), "config") |
Returns: void