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.91.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 34ac2e74076fb135e5fc96caa4871bed623a9375e7e2e4a5d22ed6d792403dff |
|
MD5 | 202d48c88a5cfdbcbf72d0655094ca47 |
|
BLAKE2b-256 | a6ed1ea572b8b11865d6b82b8087649a3cb5e78f96547a1dc8383abe5c651554 |
Hashes for aws_cdk.lambda_layer_kubectl-1.91.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6578e0507380642d4dfa414e1baa2d18735c930473f1f4b529f2f9a9e11a96c7 |
|
MD5 | 8cf33f6551ed9e8c82904f271848c596 |
|
BLAKE2b-256 | 190114ad60e9f977d222c0f39c267ff792752917b3d79726dfc7b1e5e41dd78e |