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.133.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | dce0553c9086856e220af7aa86f2e012ed86563c4b6f1dd6ec7523ba4e56a1b7 |
|
MD5 | 3d9e3086244bfe529a3b50cf3bbc10c5 |
|
BLAKE2b-256 | cf5d851b8f5ea72eaec78a396d6d526f14679393fe2af1324360b93ad13c6ef9 |
Close
Hashes for aws_cdk.lambda_layer_kubectl_v24-2.0.133-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a1e2b1c45dd0d6512896cff048f3ad7a25268a0ffc9f401b180b19a247a13f21 |
|
MD5 | 9d19e8d28f3827a449920fef2e37179c |
|
BLAKE2b-256 | b4d7d2fa7decb2eca0c6350b2e2e2c9a4da84696878ec8193e3914d038a2d052 |