A Lambda Layer that contains kubectl v1.22
Project description
Lambda Layer with KubeCtl v1.22
---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.22.0
Usage:
// KubectlLayer bundles the 'kubectl' and 'helm' command lines
import { KubectlLayer } from '@aws-cdk/lambda-layer-kubectl-v22';
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-v22-0.0.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 94a6e286248fc71f17ff80839ee16628e3a20847ad5974273e8efd6f47cd73b6 |
|
MD5 | 88778e1c9a6fabad9e9411f2c6191343 |
|
BLAKE2b-256 | b1e6306c9d9a82e61f8b51a3003511241e764353a68e947b291f31b7b1f27112 |
Close
Hashes for aws_cdk.lambda_layer_kubectl_v22-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 04b716d90856d86c078a49ecfbb7ef393ebdc579e9d65fc447fc827ecfa5dc50 |
|
MD5 | 71d88dd431c174cf14a1bdf2515ae958 |
|
BLAKE2b-256 | 46d7e07ba920d583b26876ff49e384a956004df413c14468745a7d34227b51d3 |