A Lambda Layer that contains kubectl v1.25
Project description
Lambda Layer with KubeCtl v1.25
---This module exports a single class called KubectlV25Layer
which is a lambda.LayerVersion
that
bundles the kubectl
and the
helm
command line.
- Helm Version: 3.11.1
- Kubectl Version: 1.25.0
Usage:
// KubectlLayer bundles the 'kubectl' and 'helm' command lines
import { KubectlV25Layer } from '@aws-cdk/lambda-layer-kubectl-v25';
import * as lambda from 'aws-cdk-lib/aws-lambda';
declare const fn: lambda.Function;
const kubectl = new KubectlV25Layer(this, 'KubectlLayer');
fn.addLayers(kubectl);
kubectl
will be installed under /opt/kubectl/kubectl
, and helm
will be installed under /opt/helm/helm
.
Project details
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-v25-2.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 49ff7690aed114fed3937d87837daa952542af353893e1fd53ebf83ddb6b2c44 |
|
MD5 | 0aaf6519b1dd294c8ccf12aa98e47c8e |
|
BLAKE2b-256 | 0d6e48e078f6dfc7b1a4db24df5f42f1224bffc24a172fde7ee041e33e8f7eea |
Close
Hashes for aws_cdk.lambda_layer_kubectl_v25-2.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 250bfe3bf7c293a842d69fba5f211e6dda0f45ed74a2ea746e6b1636c5ad3a52 |
|
MD5 | db923a8ef2b9b05919af6c9720a4f2b2 |
|
BLAKE2b-256 | 38532dceaf7922a758b8c1d5f1db8b514df553491b929c9e3f90ecc89bd8e511 |