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.9.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fcef6f4ea713ac1a8fff4bc5a61633cc5c9f4e5626ab8ef4db13a30e106721f1 |
|
MD5 | a9a1ee84fb641ae3ad8accd5816373d7 |
|
BLAKE2b-256 | 3c61a0187087fa5d0130b63cd7ff62abc69b5b44aee6dd36906cd9a72c510559 |
Close
Hashes for aws_cdk.lambda_layer_kubectl_v22-2.0.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c3d88774ce19fcb572c25dc6861fb9eecff52e8ed8242282093a1b3711b2ce96 |
|
MD5 | 10331ea1c87f668fc587191cd9480bb6 |
|
BLAKE2b-256 | 03e842c533a31a0b525a59aba0c04e76bf1309bcb695e435c3afbe08c61a277d |