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.7.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 50d8d047e11b98bad8b31816183cac87718b84e1c03320f47115e35cf6ddc943 |
|
MD5 | 48ee4a3e95b071b2bccdc272260e762f |
|
BLAKE2b-256 | 52d9bf27b2c42a85bff4457a6bf0a706007a5b71fd421697d17efd0fb17555a6 |
Close
Hashes for aws_cdk.lambda_layer_kubectl_v22-2.0.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | acad7f6ee9e9c141620da652e0731e77d1650462c3ce0c4dc0fa9881a46a1b63 |
|
MD5 | f9fda97ff438a19123fefab486f59a7a |
|
BLAKE2b-256 | fd495101b96afbbf95896ed62da211d997ed05b4fd990f3f22e8f550cab312bd |