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.178.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4aad3ac3d1b2a0a46e9cf56c176e43ef8692d56e2c0afaaf6d170d547be2cd68 |
|
MD5 | fcf3baa69257552fc59aee04f839e129 |
|
BLAKE2b-256 | 818ad817fe538c0ccc5eb9c2a8f37cc24ebf9be9a1ba5fe2c1b53a11e59e11b9 |
Close
Hashes for aws_cdk.lambda_layer_kubectl_v24-2.0.178-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c4cdd38c370413c9ec7584e2eec8900bd4f27e612b70a224ee5a0511b8273cfe |
|
MD5 | 25a104a7b6903d3f47c7283984fbbd49 |
|
BLAKE2b-256 | 25bf56e4f831461c0f9af50079630cbf4623077c896c9332caed2cbcc7257aa4 |