@raydeck/serverless-stage v3.2.0
@raydeck/serverless-stage - v3.2.0
Index
Variables
Functions
Variables
Let _name
• _name: string = ""
Defined in index.ts:31
Let _profile
• _profile: string = ""
Defined in index.ts:47
Let _region
• _region: string = ""
Defined in index.ts:75
Let _stage
• _stage: string = ""
Defined in index.ts:4
Let args
• args: string[] = process.argv.slice(2)
Defined in bin.ts:9
Const name
• name: undefined | string = findName()
Defined in bin.ts:7
Const nameArray
• nameArray: string[] = name ? "--stack-name", name : []
Defined in bin.ts:10
Const profile
• profile: undefined | string = findProfile()
Defined in bin.ts:6
Const profileArray
• profileArray: string[] = profile ? "--aws-profile", profile : []
Defined in bin.ts:12
Const region
• region: undefined | string = findRegion()
Defined in bin.ts:8
Const regionArray
• regionArray: string[] = region ? "--region", region : []
Defined in bin.ts:13
Const stage
• stage: undefined | string = findStage()
Defined in bin.ts:5
Const stageArray
• stageArray: string[] = stage ? "--stage", stage : []
Defined in bin.ts:11
Functions
configAWS
▸ configAWS(AWS: any, profile: string | undefined): any
Defined in index.ts:108
Parameters:
| Name | Type | Default |
|---|---|---|
AWS | any | - |
profile | string | undefined | findProfile() |
Returns: any
findName
▸ findName(dir: string, baseName: string): undefined | string
Defined in index.ts:32
Parameters:
| Name | Type | Default |
|---|---|---|
dir | string | process.cwd() |
baseName | string | "base" |
Returns: undefined | string
findProfile
▸ findProfile(dir: string): undefined | string
Defined in index.ts:48
Parameters:
| Name | Type | Default |
|---|---|---|
dir | string | process.cwd() |
Returns: undefined | string
findRegion
▸ findRegion(dir: string): undefined | string
Defined in index.ts:76
Parameters:
| Name | Type | Default |
|---|---|---|
dir | string | process.cwd() |
Returns: undefined | string
findStage
▸ findStage(dir: string): undefined | string
Defined in index.ts:5
Parameters:
| Name | Type | Default |
|---|---|---|
dir | string | process.cwd() |
Returns: undefined | string
getRegion
▸ getRegion(dir: string): string
Defined in index.ts:103
Parameters:
| Name | Type | Default |
|---|---|---|
dir | string | process.cwd() |
Returns: string