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.164.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 805c673a9de3004027aeb431cca4de11b985e17b5ed1f9e551cec4a44b1b98d5 |
|
MD5 | fb35ea4966ec6483673a40e25015a175 |
|
BLAKE2b-256 | 078d98bd9bbda425dd3bb54c73f52967babee89b8815f533f24b582fcd8dd2ac |
Close
Hashes for aws_cdk.lambda_layer_kubectl_v24-2.0.164-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f0d8e13c3b64e9e196d2125afd8c0f5905b5adf437664675fa01749cb3f870e |
|
MD5 | a1823d763b33879970e9e275f7e83ee2 |
|
BLAKE2b-256 | 42b952ff22725d9d577172d95bef98a605282d5a629779bdf2d031aec18a5564 |