A Lambda Layer that contains kubectl v1.24
Project description
Lambda Layer with KubeCtl v1.24
---This module exports a single class called KubectlV24Layer
which is a lambda.LayerVersion
that
bundles the kubectl
and the
helm
command line.
- Helm Version: 3.9.4
- Kubectl Version: 1.24.0
Usage:
// KubectlLayer bundles the 'kubectl' and 'helm' command lines
import { KubectlV24Layer } from '@aws-cdk/lambda-layer-kubectl-v24';
import * as lambda from 'aws-cdk-lib/aws-lambda';
declare const fn: lambda.Function;
const kubectl = new KubectlV24Layer(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-v24-2.0.76.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 97a7a3d6df7a1cc300409e59c10aa53a01cec2e3c10f87fe71b2d4c05ee15da5 |
|
MD5 | 2408f61e3eed4a0214033a76ac169d37 |
|
BLAKE2b-256 | 5f6891c6c6b37b3c50a555313a2a67edca3f080ffad96876460e69807db39015 |
Close
Hashes for aws_cdk.lambda_layer_kubectl_v24-2.0.76-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 316a0af22d2eafdd9bed66df6ab18bf883dc502046eb7c0b532c9a104e990dd4 |
|
MD5 | 9cec481a7ebc0848a5721ee55bf003f5 |
|
BLAKE2b-256 | e177ba1a16c4ba0344154d300420724ca5ab310937727470250e0b9dac09cc42 |