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.75.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 99c004546daa883088d2e7380b80527dc5e8c7ce6b904f0bd100403e84e88adb |
|
MD5 | 3ad6c3497ff3b27eea1d66aa49574dbc |
|
BLAKE2b-256 | 68ad07a50349500a8ba6f0eaed3e32d067a24887db065226803b1c2b8ce08dc5 |
Close
Hashes for aws_cdk.lambda_layer_kubectl_v24-2.0.75-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5d68096040920a5d1a5a6f422be0e2e6d9bb7f7c347e85531627b4289b5b4941 |
|
MD5 | a0796d68f87b52a132aea5048cc21731 |
|
BLAKE2b-256 | 9850605b0517265f573a7bf6628e1521e4c14d7c9cfcb2528cae23b8da8893c1 |