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.14.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e94bdb8d081a6af009b728bb46c2824b6c3e10cdbf20ee32976c7d96627bdcd5 |
|
MD5 | 840fddd22d1df3892e06ef169db41b2a |
|
BLAKE2b-256 | 205d19d32c8b80fab16752742a67930b0cec18b1597f28c5e99913eeeb5fefd1 |
Close
Hashes for aws_cdk.lambda_layer_kubectl_v21-0.0.14-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | df877bb7c48c92abdf4613aefd213ee99f6389cebe9b267810686e2d553604a1 |
|
MD5 | bd006aa69ac7d7768dab4303e1c761f6 |
|
BLAKE2b-256 | 7c624f4bf3aadca591385dc0f13ea85fc5d3e4ed71e47672eb440eb64a3d9df7 |