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.65.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f798b42f8deac9fd4e97bd4ffe0c1960f3071019e8e1b2916035958bc054e73c |
|
MD5 | 8807a189116257200e1b3739185d1792 |
|
BLAKE2b-256 | 62c3d4a9bb6fc22a23bdc17b1dce3cb3afed493fdb7c52210a9cb2b92a65cd3a |
Close
Hashes for aws_cdk.lambda_layer_kubectl_v24-2.0.65-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 79978af89ba06a1cf619efb2b16c0111858ce9ea01a64a7c5054f7f72c681555 |
|
MD5 | ce317909c32d8524c32282c74238e513 |
|
BLAKE2b-256 | 15cd325ab3c2828baabc08acc7766ac83fac3332960741d154cf1f696319e4c1 |