Okay. So, `FunctionProps` has an attribute called ...
# sst
l
Okay. So,
FunctionProps
has an attribute called
bundle
which can take a
FunctionBundlePythonProps
with this interface:
Copy code
export interface FunctionBundlePythonProps {
    readonly installCommands?: string[];
}
What are those
installCommands
all about? The AWS Lambda documentation for Python discusses using either a zip file or a Docker image to deploy. How might the
installCommands
play ball with either or both of those?
f
Hey @Luke Wyman, you can use
installCommands
to customize how you want to installing the python dependencies.
By default, SST runs
pip install
, and
installCommands
lets u override that.