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.185.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 93dd9842114e233b9d86881cb3a28532a73ddeee38d9206de67146afc9de33ae |
|
MD5 | 5b87f9ae4a1fd2228206f2a8aa3de44d |
|
BLAKE2b-256 | d320bedbaca6862e22309892164402c3c4d6365073591f1a6250bc3f8dea30bd |
Close
Hashes for aws_cdk.lambda_layer_kubectl_v24-2.0.185-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 94f00163fb38527c8c6438a949e403802d191528bbd85e0b08f7bc52321d3d27 |
|
MD5 | 185ab029f3fc7e33fe933a3f3ddb61f9 |
|
BLAKE2b-256 | c6c44927ec7268ecbc36f66391e038508519f1ae466a5f787b5ee990f13aa93f |