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.148.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 88b3d6e50b4e2ed4672345b5a1111c1e8c5fe47c5a6664dcf0df66a6ac3e4704 |
|
MD5 | b219c69154e4a0b563bd2dba62635ffa |
|
BLAKE2b-256 | 485f9be5701d375c90361fcb495a2b065283470f995bf1b5722a62eb45cf8df2 |
Close
Hashes for aws_cdk.lambda_layer_kubectl_v24-2.0.148-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | de0800b9c490bd6f2d34037882149397237489667d6220cb464d17d030cc74bf |
|
MD5 | 72bf1255ee3ba91b6a93bd8b39415177 |
|
BLAKE2b-256 | 6f6e5cca6ad692c3720d2f03404b89d78fa983baddb98505dba6c3e7f84bce29 |