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.186.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ba6ac4b4c8230d03d4a987da9a7efdd067ca8a06ad38753cf6859b06cc1df0b |
|
MD5 | e966b87d9440851f9c4301e567680e02 |
|
BLAKE2b-256 | 8c642d892e437cdbbdf500a944be94c66b27e74b7ea85588efc9d0b8d8699f78 |
Close
Hashes for aws_cdk.lambda_layer_kubectl_v24-2.0.186-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c76005c1921e6f1d84b018d78751c29f85dc7b1423fe498dbe98e5ec559e487 |
|
MD5 | 6a1080fc4aed3e0f342d9c728d9ad7c4 |
|
BLAKE2b-256 | 07bc88c6d2acd17b951b5bdb28160d9c87bd4ec067469efa8b2e3260d42df9fb |