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.8.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 05a4dad44e533e8a1cdc1ddaf4066fa2a56ba8f245f676eae4382c85cc72dd6c |
|
MD5 | 495de64084444190867a06e3c4945f3c |
|
BLAKE2b-256 | ec7c29faa17d8fef35fc3d04c87841fbedfccfe0098c53544d322198d9050a52 |
Close
Hashes for aws_cdk.lambda_layer_kubectl_v22-2.0.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 54540e64f2082367e4478e2f47658578fb8862f749a2b936115f79d14913669c |
|
MD5 | e9e6ca5388eee753be3737fa3732cf7b |
|
BLAKE2b-256 | 8c95b9a4e7016e405525c9c2329c7fcc58555018a40732a692dba9d428ee260a |