https://github.com/julbme/aws-lambda-bootstrap-maven-plugin
This maven plugin enables to generate a bootstrap file for AWS Lambda custom runtime.
https://github.com/julbme/aws-lambda-bootstrap-maven-plugin
aws bootstrap lambda maven-plugin packaging
Last synced: 2 months ago
JSON representation
This maven plugin enables to generate a bootstrap file for AWS Lambda custom runtime.
- Host: GitHub
- URL: https://github.com/julbme/aws-lambda-bootstrap-maven-plugin
- Owner: julbme
- License: mit
- Created: 2022-08-01T07:58:52.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-12-03T20:25:33.000Z (over 3 years ago)
- Last Synced: 2025-06-14T17:04:56.318Z (12 months ago)
- Topics: aws, bootstrap, lambda, maven-plugin, packaging
- Language: Java
- Homepage: https://julbme.github.io/aws-lambda-bootstrap-maven-plugin/
- Size: 17.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://github.com/julbme/aws-lambda-bootstrap-maven-plugin/actions/workflows/maven-build.yml)
[](https://github.com/julbme/aws-lambda-bootstrap-maven-plugin/actions/workflows/commitlint.yml)
[](https://sonarcloud.io/summary/new_code?id=julbme_aws-lambda-bootstrap-maven-plugin)

# AWS Lambda Bootstrap Maven plugin
This Maven plugin provides a goal to generate a `bootstrap` file used for AWS Lambda custom runtimes.
By default, the goal is bound to the `prepare-package` phase.
## Usage
```xml
...
me.julb
aws-lambda-bootstrap-maven-plugin
generate-bootstrap-file
generate
...
```
The configuration above generates `target/aws-lambda/bootstrap` with `0755` posix permissions and the following content:
```bash
#!/bin/sh
cd $LAMBDA_TASK_ROOT
./#runtimeFileName# #runtimeOptions#
```
The file is then ready to be packaged with the runtime script in a zip using the [Maven Assembly plugin](https://maven.apache.org/plugins/maven-assembly-plugin/).
## Contributing
This project is totally open source and contributors are welcome.