Interface LambdaConfig.HotReload
- Enclosing class:
- LambdaConfig
public static interface LambdaConfig.HotReload
Configuration for hot-reload development mode.
-
Method Summary
Modifier and TypeMethodDescriptionOptional allow-list of absolute path prefixes.booleanenabled()When true, the magic bucket namehot-reloadtriggers a bind-mount of the S3Key path (a Docker-host absolute path) into the Lambda container instead of extracting a ZIP.
-
Method Details
-
enabled
boolean enabled()When true, the magic bucket namehot-reloadtriggers a bind-mount of the S3Key path (a Docker-host absolute path) into the Lambda container instead of extracting a ZIP. Changes on disk are visible on the next invocation without re-deploying. Disabled by default — when false,hot-reloadis an ordinary (non-existent) bucket and returns NoSuchBucket as usual.- Returns:
trueif hot-reload is enabled
-
allowedPaths
Optional allow-list of absolute path prefixes. When non-empty, the S3Key supplied to a hot-reload CreateFunction/UpdateFunctionCode must start with one of these prefixes. Empty = all absolute paths are accepted.- Returns:
- the list of allowed path prefixes, or empty if unrestricted
-