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.153.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e6e059f5bf995ad7939d2a034f015ff073d5e47130d975b2c56ee6215e3c031a |
|
MD5 | c7facb2047de017ce24f55b7ffed3f80 |
|
BLAKE2b-256 | f0e6230a4281f91731e6bbcd6e138c2706f4981718a3da8dd3481538129ed350 |
Close
Hashes for aws_cdk.lambda_layer_kubectl_v24-2.0.153-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 652cee6c4e65d95b8bd650fcb2bc9b8eb6784cc9192b139dc23694f1653aab08 |
|
MD5 | 3e7f14f30850fd60ae6fbf76947bddf6 |
|
BLAKE2b-256 | 9910d8b84f4c07a0bb44c876193d556ec7e41a23ff6c921205febb105709296a |