A Lambda Layer that contains kubectl v1.30
Project description
Lambda Layer with KubeCtl v1.30
---This module exports a single class called KubectlV30Layer
which is a lambda.LayerVersion
that
bundles the kubectl
and the
helm
command lines.
- Helm Version: 3.15.4
- Kubectl Version: 1.30.0
Usage:
// KubectlLayer bundles the 'kubectl' and 'helm' command lines
import { KubectlV30Layer } from '@aws-cdk/lambda-layer-kubectl-v30';
import * as lambda from 'aws-cdk-lib/aws-lambda';
declare const fn: lambda.Function;
const kubectl = new KubectlV30Layer(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-v30-2.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 37f8f7eeb35bd5a1bb53622264ae189f140071470f89da18b147285e1632b556 |
|
MD5 | 08a36242991407bbc0fbaa66047e3984 |
|
BLAKE2b-256 | 34ba1c728fdfbd013026d30ad5a575b0817416a821961f846e24567b177997d6 |
Close
Hashes for aws_cdk.lambda_layer_kubectl_v30-2.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d72e1c9309b20d7a04f0d8acc57af7578761096c3c30e665b5d1effa75d5737 |
|
MD5 | c72c1fdfcb06ee45ba83ff8484a9e5b3 |
|
BLAKE2b-256 | b589f8e3a3410fd65f1303c27c1dd0690c1d72fc1a7217d1bfff965601aab931 |