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.116.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c5f240ff1eac1628a1f7c9627c04b40eeb7389dde28cf30e63446dd60ba5469d |
|
MD5 | 1b9a638efd5549336d6d780d55417b24 |
|
BLAKE2b-256 | bb08c04783577d91137aa9f8f6bfea846cbd566c3b23f2b95e49793f9d74276d |
Close
Hashes for aws_cdk.lambda_layer_kubectl_v24-2.0.116-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | feee2827f40d833757cbabb54a07c00277be121409ebac6f90c3445e35834e47 |
|
MD5 | e60302d059ada7bbf993b33779a1efc8 |
|
BLAKE2b-256 | fb1e84e923732d328a7ff9e0484c98f05955ca9afd0d457586be52bf51f549e6 |