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.86.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6ecdeacf636e67fbfdf60e753f9ea99dbbe928411208d7eabc7c9f8c74244e31 |
|
MD5 | 899bf47220f345fda616a17215e0e38b |
|
BLAKE2b-256 | 29ed0148fe79bafa5b5e0de2f5f03e7e64d5e9088a857e07f3c3c4121a5e9476 |
Close
Hashes for aws_cdk.lambda_layer_kubectl_v24-2.0.86-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 32e10a81be8d00a1330435d699cca7c0ccd5e3d92c50d54365f6425fbfa2883b |
|
MD5 | 3ea99aaf36b065214be099218ae138dc |
|
BLAKE2b-256 | 3c4d84b1e55f65a031141b2727bcba584731f2c36bf938871ec36d553c3150a7 |