README
serverless-setup-appsync
Usage
npx @raydeck/serverless-setup-appsync [options]
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)
@raydeck/serverless-setup-appsync - v1.0.1
Index
Variables
Functions
Variables
appSyncPath
• appSyncPath: any
Defined in bin.ts:15
region
• region: any
Defined in bin.ts:15
stage
• stage: any
Defined in bin.ts:15
Functions
getConfig
▸ 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
▸ 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