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.13.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7b2eee0dc5e06b9e26e65e91e286c8bcea9b6b14e05bc4a59a2704acce9a2cb1 |
|
MD5 | df33aaf4110094aa1c02e933aed7a47d |
|
BLAKE2b-256 | 99544f43e197ecaa871fdb6198672e1fdc80c609532bf55a6170d706d6c742c5 |
Close
Hashes for aws_cdk.lambda_layer_kubectl_v21-0.0.13-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f53b8b937fccbe563df457ccc6906484cfb74c04c16ad3fe815029cd64ceac15 |
|
MD5 | 54019fa62bd329134b48092919db5bc1 |
|
BLAKE2b-256 | 7a7f48dde9d2a6364c2282755e6af3bbea4a82a407634f10f0c983926ede353d |