A Lambda Layer that contains kubectl v1.26
Project description
Lambda Layer with KubeCtl v1.26
---This module exports a single class called KubectlV26Layer
which is a lambda.LayerVersion
that
bundles the kubectl
and the
helm
command line.
- Helm Version: 3.11.1
- Kubectl Version: 1.26.4
Usage:
// KubectlLayer bundles the 'kubectl' and 'helm' command lines
import { KubectlV26Layer } from '@aws-cdk/lambda-layer-kubectl-v26';
import * as lambda from 'aws-cdk-lib/aws-lambda';
declare const fn: lambda.Function;
const kubectl = new KubectlV26Layer(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-v26-2.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 336d5667d95bf25aa295f614fdb2b9972e06ff48162aa7c0a73dab4ae4e7f62a |
|
MD5 | 308b48e4753cebc4eb97d7f5cc4217fc |
|
BLAKE2b-256 | 7e5e67b92cc3e99c9acb44ed59f92c34f64b31378adada505a68e6d8324108ba |
Close
Hashes for aws_cdk.lambda_layer_kubectl_v26-2.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a61ab8b69d0bec6f221d8b44ef5c1609d67d64faef5c22f674ab5f32d3f159b8 |
|
MD5 | 3d8bb9d4b792f01eadecf59387dc3678 |
|
BLAKE2b-256 | 40fca26d1b58981ca249e8acfdbf3abd583bafb8e4e956f3efd15bf292dbd633 |