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.94.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f2d454fadd5bee26e8a196eda52ab7811541e8a1b6a996219eaab064d6dbb519 |
|
MD5 | 8de49d5b9cc7ef476470c713aa2c0e03 |
|
BLAKE2b-256 | 1f786a82ebf2d8e72d3ad0f489a3f5181c734ae3a7f3aed1b99dd540bcd52b03 |
Close
Hashes for aws_cdk.lambda_layer_kubectl_v24-2.0.94-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5a4d4ccb11533d0172eba1161da7d1649d7e1e1f76caad3e7202d0861d605297 |
|
MD5 | 60c34aca3e90753f814775376d961443 |
|
BLAKE2b-256 | 0a2e99243f3b79105ca46cd82035830eef51a84b0e023b62cddf7fa1e993ba2a |