A Lambda Layer that contains kubectl v1.21
Project description
Lambda Layer with KubeCtl v1.21
---This module exports a single class called KubectlLayer
which is a lambda.LayerVersion
that
bundles the kubectl
and the
helm
command line.
- Helm Version: 3.9.4
- Kubectl Version: 1.21.0
Usage:
// KubectlLayer bundles the 'kubectl' and 'helm' command lines
import { KubectlLayer } from '@aws-cdk/lamba-layer-kubectl-v21';
import * as lambda from 'aws-cdk-lib/aws-lambda';
declare const fn: lambda.Function;
const kubectl = new KubectlLayer(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-v21-0.0.15.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 900c267ea8cb02bb3b00a8823e9a0043b94533018a0f2ce5f436e6ba4a7ad10a |
|
MD5 | 4c1ee9614f6317bf935f729f2fbbf661 |
|
BLAKE2b-256 | 5bc31c83cff5bb1804f36c115ad71478a8eeddc7ce89d509be6d80b1e1e16a85 |
Close
Hashes for aws_cdk.lambda_layer_kubectl_v21-0.0.15-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 64957da20850045e71823882c270bfb1eece98b8896a6143a23e9728a2864b81 |
|
MD5 | b30212d0d2cdb7ec7906427b2d66e2e5 |
|
BLAKE2b-256 | c962df1ddcbd3399c35e6a8d383b1f9aeb5c86aec7c8e3c88580ef4e24805098 |