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.166.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 412b782d1e88345df1c81ee5554cda364f0eaacb5ebf0afb20b19a49e4ad2b7e |
|
MD5 | b6511f26b0014e85b7f2e0fb73abb47f |
|
BLAKE2b-256 | 4dff4b588b960192160fee26826ceccc26bae27036550ba3f03343d3b3dfe3c0 |
Close
Hashes for aws_cdk.lambda_layer_kubectl_v24-2.0.166-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6d4f216254fb6835d79b17acc2a0f8f0c4716c0cff75edf33a7c7534eae3f4fd |
|
MD5 | 6dce9a553fa3e0505bac4c09f5a50305 |
|
BLAKE2b-256 | 6377618baf6e9773b0133a1d1373c99d21ff747b684ab63a8ba108ddf9d0795d |