A Lambda Layer that contains kubectl v1.26
Project description
Lambda Layer with KubeCtl v1.26
---This module exports a single class called KubectlV26Layer
which is a lambda.LayerVersion
that
bundles the kubectl
and the
helm
command line.
- Helm Version: 3.11.1
- Kubectl Version: 1.26.4
Usage:
// KubectlLayer bundles the 'kubectl' and 'helm' command lines
import { KubectlV26Layer } from '@aws-cdk/lambda-layer-kubectl-v26';
import * as lambda from 'aws-cdk-lib/aws-lambda';
declare const fn: lambda.Function;
const kubectl = new KubectlV26Layer(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
File details
Details for the file aws-cdk.lambda-layer-kubectl-v26-2.1.0.tar.gz
.
File metadata
- Download URL: aws-cdk.lambda-layer-kubectl-v26-2.1.0.tar.gz
- Upload date:
- Size: 29.8 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a0696b2777ef4221e5402eba0fd8293e32a24b8c833b7d8ad76bad00c37438c5 |
|
MD5 | 11fd51a784646f123f3d26a7df9ba433 |
|
BLAKE2b-256 | 1c730341290494cbe239ba4cb49e74d881bd55ea7d7c0337eef31607364569cd |
File details
Details for the file aws_cdk.lambda_layer_kubectl_v26-2.1.0-py3-none-any.whl
.
File metadata
- Download URL: aws_cdk.lambda_layer_kubectl_v26-2.1.0-py3-none-any.whl
- Upload date:
- Size: 29.8 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ee488000f2ab3f4fc8c3ec3a4c5a5425f64278f892ad42dfc3596080856c9df |
|
MD5 | 8c88a38927c0b89c2c65ba283f91d3c3 |
|
BLAKE2b-256 | 5a182f680841078979808fe386a37679b435fc92e449260e16afd814e5f329c3 |