stackery local start-api
stackery local start-api
Start an api server
Synopsis
Start an api server for the given stack using 'sam local start-api'
stackery local start-api [flags]
Options
--access-key-id string AWS access key ID
--aws-profile string AWS profile name
--build Build before invoking 'sam local start-api'
--debug Show debug output; leave temp files
--debug-args string Additional debugger args, passed through to sam cli
-d, --debug-port string Debug port, passed through to sam cli
--debugger-path string Host path to debugger, passed through to sam cli
--docker-network string Specifies the name or id of an existing docker network
-e, --env-name string The environment name
-h, --help help for start-api
--host string Local hostname or IP address to bind to (default "127.0.0.1")
--no-assume-role Do not assume functions' roles; instead execute using the user's own role
-p, --port string Local port number to listen on (default "3000")
--secret-access-key string AWS secret access key
--session-token string AWS session token
-n, --stack-name string The stack name
-t, --template-path string Path to stack template relative to CWD, if not the default
-u, --use-container Run 'sam build' with the --use-container' flag to build your functions inside an AWS Lambda-like Docker container
Options inherited from parent commands
--non-interactive Skip user inputs
SEE ALSO
- stackery local - Perform local function execution