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.135.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b32cc59a3e4e0be26fbbbee92a37f9680940a56f828f11cdf0639db78401eb94 |
|
MD5 | 122a49ed44d73c9d79aa7d7734afb97e |
|
BLAKE2b-256 | f430ff96a149ce827cc332bb4a095a11e1c75814bcdcf1582604d0aecde2985d |
Close
Hashes for aws_cdk.lambda_layer_kubectl_v24-2.0.135-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ade01c6064f6c69519b1fa19f7f297bf21709a7c652ed1f73cdbe460b43d7989 |
|
MD5 | 69d8a31bf54309b36996131dc0921aba |
|
BLAKE2b-256 | f8444215c886c66e9c3da29bbc6e28fc88833021c876d097937aad83d215a697 |