A Lambda Layer that contains kubectl v1.27
Project description
Lambda Layer with KubeCtl v1.27
---This module exports a single class called KubectlV27Layer
which is a lambda.LayerVersion
that
bundles the kubectl
and the
helm
command line.
- Helm Version: 3.12.1
- Kubectl Version: 1.27.1
Usage:
// KubectlLayer bundles the 'kubectl' and 'helm' command lines
import { KubectlV27Layer } from '@aws-cdk/lambda-layer-kubectl-v27';
import * as lambda from 'aws-cdk-lib/aws-lambda';
declare const fn: lambda.Function;
const kubectl = new KubectlV27Layer(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-v27-2.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | eda4078c3c0c7a158c60ead83c410a1649839009e6636c613098c26319c6fa14 |
|
MD5 | 2c49acda30fa3f3796d67ee55a48e4b6 |
|
BLAKE2b-256 | d0bf9e2dfd8e035205c3324574c09ea865565e33ecdf035a1cc367f354c6546c |
Close
Hashes for aws_cdk.lambda_layer_kubectl_v27-2.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 61b5c675ab24afef28be4f38ba2d7d77eee711019223483579e0aec3648fca9b |
|
MD5 | 4a57ab6f317aad372342822c1cdfbb66 |
|
BLAKE2b-256 | 66cfc8c2fdd9ed37b8e65081aad6d62d9550b17f5044d4d1228f82354518e20f |