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.167.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5ac32299c16379b82ca2f9a6a4dfedabd1b5aaba7b7cabf615d40f91ce098786 |
|
MD5 | a30278d8406eeb96c2c0d7e06295f1f9 |
|
BLAKE2b-256 | 75136b31ebb9b625ea0775e25d6a347e6bca51944f93780c8bb6be435842d2e7 |
Close
Hashes for aws_cdk.lambda_layer_kubectl_v24-2.0.167-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1543e184bba772b3ff76e894abf9284de2da5599e73ee9d78780e1843edb45a5 |
|
MD5 | 531670c6a2acb870fec38d06b04ceef4 |
|
BLAKE2b-256 | 6e0092df17698050f8034043a38dc7a9896bf36bd0d4a01a8fa3b0694eb1c6cb |