A Lambda Layer that contains kubectl v1.22
Project description
Lambda Layer with KubeCtl v1.22
---This module exports a single class called KubectlV22Layer
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 { KubectlV22Layer } from '@aws-cdk/lambda-layer-kubectl-v22';
import * as lambda from 'aws-cdk-lib/aws-lambda';
declare const fn: lambda.Function;
const kubectl = new KubectlV22Layer(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-2.0.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8559e6a4863a68632c4b94066d1cd5b47a55610c6b3105f471a3c65e4f67e2b9 |
|
MD5 | 75925f569a866353dfc68e4f013ff442 |
|
BLAKE2b-256 | 0cd12767503e7e6e152fc2da0588d381fecec7c26fde73c87c8023cb8989f431 |
Close
Hashes for aws_cdk.lambda_layer_kubectl_v22-2.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 02eeef1105a8852cbfa60141faa9bd12667c02f4053500cede7b96046ffe65f2 |
|
MD5 | 3f04e4a106eec76aa72027db939cd53b |
|
BLAKE2b-256 | cfd810bb87cc38f1fad36560c1fe642444430f201053dd47b3eae3f1c6d3111f |