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.102.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 89686a859e05d35baf2a405d6f62599be4cc3c28a24808ca2f3b218a0e04ab10 |
|
MD5 | e2881a90479470ef5839162933c2540b |
|
BLAKE2b-256 | 29f0099e4769d5e6718950d0749d8f5edbe6e80e7b5067259a9676c422193e71 |
Close
Hashes for aws_cdk.lambda_layer_kubectl_v24-2.0.102-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | da7ace6b10406dc3f6212df6e2e87179637d2f789c255e010b13781bb6fadea3 |
|
MD5 | 527ff923242b347646afe93adfa6aba1 |
|
BLAKE2b-256 | 92c6fb227110aaf25f4c68cb1482820d69abf9c50334f3d809a59a0a6179cf0c |