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.125.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 675165931b52a2dbb3ae5996ae7534ddd8d5a716a7522924604c5b3911ad9c2c |
|
MD5 | 50af03f035398a67b1ed15d48623572b |
|
BLAKE2b-256 | 6757857d8307116d9a2be7f96fa49674bd926d75dfbbbac5240462a121c4253e |
Close
Hashes for aws_cdk.lambda_layer_kubectl_v24-2.0.125-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a8aee1f27d8320d1268c4ad32c39e8495153612e21d2db2d2f7f930eb147498c |
|
MD5 | 8670fa3506d6c6afec7af3d2515b6bc5 |
|
BLAKE2b-256 | d3afa199def5ca95ab06252f62dde7bc1a56205179553b35f460c915bf380255 |