A Lambda Layer that contains kubectl v1.24
Project description
Lambda Layer with KubeCtl v1.24
---This module exports a single class called KubectlV24Layer
which is a lambda.LayerVersion
that
bundles the kubectl
and the
helm
command line.
- Helm Version: 3.9.4
- Kubectl Version: 1.24.0
Usage:
// KubectlLayer bundles the 'kubectl' and 'helm' command lines
import { KubectlV24Layer } from '@aws-cdk/lambda-layer-kubectl-v24';
import * as lambda from 'aws-cdk-lib/aws-lambda';
declare const fn: lambda.Function;
const kubectl = new KubectlV24Layer(this, 'KubectlLayer');
fn.addLayers(kubectl);
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
Close
Hashes for aws-cdk.lambda-layer-kubectl-v24-2.0.142.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2dfd309dbf8d7f426f660ad8c7e17efd1e9ba0ce86665b9feadcecc248569b43 |
|
MD5 | c4c4c93a43055438d0ba615e3fbd4e8a |
|
BLAKE2b-256 | 3bd351a229aa02d712e44c412adb700114a4268017d57e3ffeebf120b855fa9a |
Close
Hashes for aws_cdk.lambda_layer_kubectl_v24-2.0.142-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c98c65624ad99ce4f6604c897999873b47305483fbdc6399a7c9877992ca21b9 |
|
MD5 | 21efcaeff857a6adc40dcb94718b6824 |
|
BLAKE2b-256 | 46393089f8608e195a50d0b482c6babf5d6d966f93f8d6292291beafd75a1ca3 |