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.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a1d46894763ceaf9aa134196a2334420ff21ee2742d7cb734c6f6e8b00db9a29 |
|
MD5 | ce28bac8a78e3c4cf7c34cf98c751bd5 |
|
BLAKE2b-256 | 840d72f562f9dd83e80e51214b2266a7b1b5f39951b707b5308ae45dbae62d2b |
Close
Hashes for aws_cdk.lambda_layer_kubectl_v25-2.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 65ce3ee688071daf12790136242c10c36d73559fff43f37d89967919dbeb1305 |
|
MD5 | b4815756791cbd1504126e4957cab129 |
|
BLAKE2b-256 | 86619cc8f3167ec0291312c396c16be5b8f17eac209ebd3c1300e18fdf93beb7 |