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.56.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5cb8fd7d90357a508f51b14add56d53e1ec60eec9617a7291ae763fb6c944624 |
|
MD5 | 955967ffeb1bd742d99fdd0c3e751ec5 |
|
BLAKE2b-256 | a557c4737ca0bac5b0de257904b3d388be3cf8e8c40798c3ddcc9d0b393ee8ac |
Close
Hashes for aws_cdk.lambda_layer_kubectl_v24-2.0.56-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cadbdc9e3bfb0f16e49e498941294fa66771b91d3275c66aa113d4e6077a6b1c |
|
MD5 | 06876573c660d8978dfb1d1d1074f8ad |
|
BLAKE2b-256 | 84713f837923cc8ccf36ea1607711f051a7c53dea09228c8f97352040ee28294 |