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.188.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 243124e593e70216a34807a98a1960498a0e07518a50c56ef3306d838501e1bc |
|
MD5 | 8a49eb8a322fc69b2ac06a7afd5a22fb |
|
BLAKE2b-256 | 1184158c2161116f5b02e2dc93c99c68648e4aa61566af48ac6d6217bdea0453 |
Close
Hashes for aws_cdk.lambda_layer_kubectl_v24-2.0.188-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 76a328b3bb0b6ce5ac6381380b5fa1f68cb5c757c4983157ac21adab62d3bdc1 |
|
MD5 | 9b40acecca31b8d639d1f63744fdaf7b |
|
BLAKE2b-256 | 215bbf2b0cd16e5215c9752db6a3996b956e72b209ca57bdcaa01c24377ecab2 |