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.12.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c0b27e58b671891bbfc9067bc4c46b1dcc3234de456c09133f0d656eb8261613 |
|
MD5 | 8298f2c57010e1af8b15056fbf93b1fa |
|
BLAKE2b-256 | a21d35c83cfff0513d15e9b9b2163296639de608ce4f92459a1942d8ef265a83 |
Close
Hashes for aws_cdk.lambda_layer_kubectl_v21-0.0.12-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e33731c7e4989967383528928486070c2a50c136c95ef1ebda4241aa7721987f |
|
MD5 | b84d186c6714de8a1d64f9f980aa3d71 |
|
BLAKE2b-256 | 5f9136820dec75cdccf51081d7c3d3982975a57d5b5449d1abea54fe6e71955f |