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.44.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b4f94f7cdfb8759bb02cc02d65a95b7181353ef6dec4f4246580a383c58c2d3b |
|
MD5 | 4209627c84fc87f63f67c69dd0107655 |
|
BLAKE2b-256 | 78c330daabac490fd671c607601b395cba7c2270feed3758c683b04b95433c33 |
Close
Hashes for aws_cdk.lambda_layer_kubectl_v24-2.0.44-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d47dcb75c12d97b47df415698d2384724a31e36f5265eef73b4401452262ff87 |
|
MD5 | da25c6807c03e042c8f069f4cb123fee |
|
BLAKE2b-256 | e0cb0ed7be475fbec656d2b7d41f4fb80b07be27e49729bfdb7a0068788f1120 |