An AWS Lambda layer that contains the `kubectl` and `helm`
Project description
AWS Lambda Layer with kubectl (and helm)
---The APIs of higher level constructs in this module are experimental and under active development. They are subject to non-backward compatible changes or removal in any future version. These are not subject to the Semantic Versioning model and breaking changes will be announced in the release notes. This means that while you may use them, you may need to update your source code when upgrading to a newer version of this package.
This module exports a single class called KubectlLayer
which is a lambda.Layer
that bundles the kubectl
and the helm
command line.
- Helm Version: 1.20.0
- Kubectl Version: 3.4.2
Usage:
# Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826
fn = lambda_.Function(...)
fn.add_layers(KubectlLayer(stack, "KubectlLayer"))
kubectl
will be installed under /opt/kubectl/kubectl
, and helm
will be installed under /opt/helm/helm
.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for aws-cdk.lambda-layer-kubectl-1.89.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3109b516a6b829edc6c54783b07b0c8e72eeb512a048d1ad88ebbacad8d540c6 |
|
MD5 | d4176fbfc993ab337b9687cc5c93c96e |
|
BLAKE2b-256 | b3629440c14ece2e3bbd6b7a237061656f85849b4ac213b934ef733c5a672ccc |
Hashes for aws_cdk.lambda_layer_kubectl-1.89.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7af99625d35bc8f41dec1ee837f10db050b181acbb06a812f46d31eeaf3fbbd0 |
|
MD5 | 43b264626d8ac3fb51368d5ff694b805 |
|
BLAKE2b-256 | 5f2d8cc15f9af886a945c89a8da8ceaee181dcf9761f8916eb8deb4a97c20c9a |