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.150.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7b3a99ada5338f5c3499f2cb4f94eec7b3a9903c12963f7de55df390c3874d7f |
|
MD5 | ff32e8ab0e4e472ebe70956142740cb2 |
|
BLAKE2b-256 | 566a88c25c7839b5491ac499f0e6e821527e8515c9e2ad57c2e885d537b61d06 |
Close
Hashes for aws_cdk.lambda_layer_kubectl_v24-2.0.150-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 36216df918f21a6db6de030c7ada6d78d39d1faf5fe683256fa5923c936a6091 |
|
MD5 | ee582118756198f3fdf8805cb5abec50 |
|
BLAKE2b-256 | 15968331460079676caa254a003a55d4f99f9ff667dfb3df493d387491a40d9a |