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.111.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b1ebdf474c483960b3317b02bebe43126f5a74d9421d055cf6ff14dd4d9e1849 |
|
MD5 | d4a9632ee946c8183387a6f18c2cfebc |
|
BLAKE2b-256 | ae0c2ff4fff7d650fda1760393347316e2dfedefee59e0807fd993a9e80c7987 |
Close
Hashes for aws_cdk.lambda_layer_kubectl_v24-2.0.111-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e9d7d6d334e673be0f37deaea0de2e95226ce7d06ce88d00f3f2c4e8bc476502 |
|
MD5 | dbcee27e24b6a91b36d6717684434dc0 |
|
BLAKE2b-256 | 83716e532d00d91d9753b50bf2a4c92ee23d43acd0908ecc761beb18b9646607 |