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.129.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | aa8bd8a5ff6a878f808123e9bb3658310251f8d24c1635ca4ebb896ca8773d74 |
|
MD5 | 29cf5ffb06cf4d3ba35b2cfd1f832615 |
|
BLAKE2b-256 | 433a45c0554d20c882833710968e4ac3a7d205d665d38908a006ee76fe07f545 |
Close
Hashes for aws_cdk.lambda_layer_kubectl_v24-2.0.129-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 080cdec5a0299239c667d5c55c5fe860e936c12d7d1d046556ca223ca8c4516c |
|
MD5 | f258cf63058b2f57b62d4054fc297c7b |
|
BLAKE2b-256 | 69cffcd749808552873068622acbfd1612d15130c9ef65e268a39be38e08c1c0 |