1.0.1 • Published 4 years ago

@raydeck/serverless-setup-appsync v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

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

NameTypeDefault
appsyncPathundefined | string-
pathstringprocess.cwd()
regionstringfindRegion()process.env.AWS_REGION"us-east-1"
stagestringfindStage() ?? "dev"

Returns: Promise‹object›


writeConfig

writeConfig(config: PromiseValue‹ReturnType‹typeof getConfig››, path: string): void

Defined in index.ts:33

Parameters:

NameTypeDefault
configPromiseValue‹ReturnType‹typeof getConfig››-
pathstringjoin(process.cwd(), "config")

Returns: void