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.73.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad3c99353f24918d6d5139273040d4cf299f5f7a21d75df807d78eb0ed21c014 |
|
MD5 | 8fd3e9ca6843f4b28b3c89b14215020e |
|
BLAKE2b-256 | b70ab10db67e60980e94931178e9ea00e908dc2f935e50e896d66dad0c890911 |
Close
Hashes for aws_cdk.lambda_layer_kubectl_v24-2.0.73-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ee6bd8424181cf4f3425921b3eae26822a9ef2d2027b3c59b27af96fbdf6fe9c |
|
MD5 | 3abe382d09b9c3a0522892a0346466be |
|
BLAKE2b-256 | c973349c41bdad87570ed229aeab745e9a0ea9834bb6d1ac2af9285e60231104 |