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.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b319660fea60dff8cf40b5fec230d68e4c59c095c28455740345b5d80b3c0ad9 |
|
MD5 | 130cd3e705df906b1f454ad66a5579e1 |
|
BLAKE2b-256 | 86125897d2a6785c3bb1220f5b11e61d65c76e480df390706a385ff484eb389b |
Close
Hashes for aws_cdk.lambda_layer_kubectl_v25-2.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bd21ebe3111a0052cf07ed7bea09d15db631ef6f596ea493497d8325062b73a0 |
|
MD5 | 1b5e9c19e4cdd0897b1f152dbd2eda05 |
|
BLAKE2b-256 | e02f70a7e463af71269eeb87d99bf2e55a89b996f9e8f67ed80ab207d46ba3d5 |