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.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c4752eea34c2c1bda040c22c7832b42d68cba32008f50c963aea7ea2dfa91f17 |
|
MD5 | 7d2a0fdd82de65ceb3a7cc3897e5769f |
|
BLAKE2b-256 | 72c5a719b4778e37cbd168dff440fb179a4d94a8462e912611ce1ed3b0a4cf35 |
Close
Hashes for aws_cdk.lambda_layer_kubectl_v21-0.0.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bad8c1637ce3973ad97a6123d6608d30ac9f95069330f0d5efd8c609ad3624b5 |
|
MD5 | 1c7b5cb14df8a2a83ef7e60bb7f34051 |
|
BLAKE2b-256 | fd52bffc09c45a0daa24242baa5d86162c5d87035dca14351539b7b52831e215 |