An AWS Lambda layer that contains the `kubectl` and `helm`
Project description
AWS Lambda Layer with kubectl (and helm)
---AWS CDK v1 has reached End-of-Support on 2023-06-01. This package is no longer being updated, and users should migrate to AWS CDK v2.
For more information on how to migrate, see the Migrating to AWS CDK v2 guide.
This module exports a single class called KubectlLayer
which is a lambda.Layer
that bundles the kubectl
and the helm
command line.
- Helm Version: 3.5.4
- Kubectl Version: 1.20.0
Usage:
# KubectlLayer bundles the 'kubectl' and 'helm' command lines
from aws_cdk.lambda_layer_kubectl import KubectlLayer
# fn: lambda.Function
fn.add_layers(KubectlLayer(self, "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
File details
Details for the file aws-cdk.lambda-layer-kubectl-1.204.0.tar.gz
.
File metadata
- Download URL: aws-cdk.lambda-layer-kubectl-1.204.0.tar.gz
- Upload date:
- Size: 25.4 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5e303d2db99f7b36183f43c51a10ffbb2468e975729ed2d70225adaacc6ee7f9 |
|
MD5 | c5635285cebce532c4c80a1ab3f77ae6 |
|
BLAKE2b-256 | a95ae45497e23d09224d38825238ea917917b4d2719c8ad13326b7f7529bb910 |
File details
Details for the file aws_cdk.lambda_layer_kubectl-1.204.0-py3-none-any.whl
.
File metadata
- Download URL: aws_cdk.lambda_layer_kubectl-1.204.0-py3-none-any.whl
- Upload date:
- Size: 25.4 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c1cb48c65d736026084c154fc0235ca5ba4da4b626636d63307d694c02de4086 |
|
MD5 | 052794b32902f404d412df6cde2f3212 |
|
BLAKE2b-256 | c7914d7e0615a03694fd7f29e8b3c324913d6bef05651e7421841e960a360e57 |