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.8.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f145e58f89b932357982abe233c172ff276154c6096071a098da46793bdc143 |
|
MD5 | 0b07a41e542881fdaf8befc06604fade |
|
BLAKE2b-256 | 6513b8e721e4b963005b28f7590537395931f20ebfa72557db0b62279b21d2b6 |
Close
Hashes for aws_cdk.lambda_layer_kubectl_v21-0.0.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8aaa1cd3a5e3b2b05e6c2080b6b6919439517685d9244f5e3bbeb185d4dbb138 |
|
MD5 | a2e19c693606fd8058b3d10fb395e0c1 |
|
BLAKE2b-256 | da900e460612cf6f171428da2881a4c755f18e927ff733fdf0151b4a68c43c2c |