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.170.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c3d59a8c9ca6ca85ae7db89ea8028630d35e5cad1dba21b4b86e5f40fb0d021d |
|
MD5 | 524187c057cb59d2e81859bdadeb683e |
|
BLAKE2b-256 | ebe8cf066d081511547798407428919698f037fc76fe26ff8421807533b3b6ee |
Close
Hashes for aws_cdk.lambda_layer_kubectl_v24-2.0.170-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf1aeb23d0d5de042be59af43feac2d03b6ce0f3a85b3da859f6a1f1e8abdb70 |
|
MD5 | b0c1e8ebd5a1f11b6c3b13ccad9a270f |
|
BLAKE2b-256 | f1b885e0da175d6798fcdf9e95f6ea7958266cad8e2e0db38b947a7cb197d8ef |