A Lambda Layer that contains kubectl v1.21
Project description
Lambda Layer with KubeCtl v1.21
---This library is currently under development. Do not use!
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.7.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2c4841d64a0d1b12f3ae4c821b31040a861106161a225216b9c77866b9f3b12f |
|
MD5 | 8a6e0935c760490fc6409c5328952ef1 |
|
BLAKE2b-256 | 6d02d9e385ae8247dd4e029ce5a4267683a373d376fd9aefce16a60f1b211ed0 |
Close
Hashes for aws_cdk.lambda_layer_kubectl_v21-0.0.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 30cbe591647eab2633306cf84b4d35bb98f3a2cb638fb224d9e885363bf76820 |
|
MD5 | 8734165cdadc1a9a71e84866c113673e |
|
BLAKE2b-256 | 65be3a46a201edfae595f74f7a567a388a832b71a3504247a2fbae2af473fc63 |