A Lambda Layer that contains kubectl v1.21
Project description
Lambda Layer with KubeCtl v1.21
---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.21.0
Usage:
// KubectlLayer bundles the 'kubectl' and 'helm' command lines
import { KubectlLayer } from '@aws-cdk/lamba-layer-kubectl-v21';
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-v21-0.0.10.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d7a3514ca274cd271ba499e3f814a7d5b1f33989abe6b78f69f024affeb9ab35 |
|
MD5 | 442c40691a459015c94628600b48fa7d |
|
BLAKE2b-256 | 3a42dac49c5141d9595244ce4fd4d972067d1e88868d50f00a483292298fd102 |
Close
Hashes for aws_cdk.lambda_layer_kubectl_v21-0.0.10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 957c2d9bd9eeb9558efa9894ab7752c9520926589ed4960fd4f22292487608dc |
|
MD5 | 2f83873103615a33450828e387db2a84 |
|
BLAKE2b-256 | b2335733aa2bdbe9be58f5205ce56627f6c1dadf86af34c8bec8581ed0eeabe3 |