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.47.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e477890ec70def2fb3bcd97d28f7c0feb08d4b7573ebfb35d5713a54e01d9bed |
|
MD5 | d0f2946570c8e4a5532564cf8f2eda96 |
|
BLAKE2b-256 | 88637852904d2d5e8b6461524ec077c285592b740eaf593ee10a3b30399c46e5 |
Close
Hashes for aws_cdk.lambda_layer_kubectl_v24-2.0.47-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 92c924e57974d96162364f5d285a966a273860fb22f69296334b97d736dfd964 |
|
MD5 | 304dec94b37dd55a36a7b8c238af4db0 |
|
BLAKE2b-256 | a735459734c5f6f7662825eb73ddbe1a2feb706a76a8df6f47aef04fde2bd013 |