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.66.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d388c329ee337efd2fedd2f3e16563f7f691e3d2fe5334393aec42e4dff0897b |
|
MD5 | cb84b5ce495f70c790a31caa30f7d6f4 |
|
BLAKE2b-256 | fc12c8e6d9075c47762b84c5442cdf81ce0df9c9cf0d179f2f35cf2cf1812e34 |
Close
Hashes for aws_cdk.lambda_layer_kubectl_v24-2.0.66-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1898b79ed56f1e74c90ccd4fd691c54d4455b936bcb38717566476d3d8d3130e |
|
MD5 | 01665ee4a17d08b5e0ab7c5812bfeadf |
|
BLAKE2b-256 | 4473bb199a7f4055c6561d610ea7d9ee46c9a6e6b31c1f1bd921d7b2aa4ff3f3 |