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.9.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 70a7ea87297009944506612084f3c8ed674455e2e7f26290a0ab774583391486 |
|
MD5 | 379a8e707501998eb8f357afcc974bcd |
|
BLAKE2b-256 | f00e18606ff9dc0ca7f2c59ea04d5341b409aa54caea69de05391969f44e1878 |
Close
Hashes for aws_cdk.lambda_layer_kubectl_v21-0.0.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 92092bb45b22d9da01990e0602fb8b0ae1aaffbae201771dcb56e310ee7d0768 |
|
MD5 | dc5c69c139a0e0ca02bb5145fa6e0c0c |
|
BLAKE2b-256 | 566be1287576950cca618f34470ca0138b3c63f3f502e3176a8bbe9ae6ea3f76 |