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.82.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 38f868a59e1548a5a759db235b7bb50cbaa57de9ea100836b1afa10e08816044 |
|
MD5 | f7dc59798ef10e7780d3777d49c1862a |
|
BLAKE2b-256 | dadb4e357e370d3b5fea86d0c70ffbea0b5354e0563c035d3b9e7327d445b9b0 |
Close
Hashes for aws_cdk.lambda_layer_kubectl_v24-2.0.82-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 03fd0f0ca9e6c2d9f34e090d8fe2f66a0f6e961a2545cc8d55f452369f4a6d9b |
|
MD5 | 09c7b4b36c0ab6fab75d9b60a3a0d946 |
|
BLAKE2b-256 | 42f827d2174412fd9b9e6467afdf7b589b3b6b6909a1b9c556392cfdaf847205 |