A Lambda Layer that contains kubectl v1.28
Project description
Lambda Layer with KubeCtl v1.28
---This module exports a single class called KubectlV28Layer
which is a lambda.LayerVersion
that
bundles the kubectl
and the
helm
command line.
- Helm Version: 3.14.0
- Kubectl Version: 1.28.3
Usage:
// KubectlLayer bundles the 'kubectl' and 'helm' command lines
import { KubectlV28Layer } from '@aws-cdk/lambda-layer-kubectl-v28';
import * as lambda from 'aws-cdk-lib/aws-lambda';
declare const fn: lambda.Function;
const kubectl = new KubectlV28Layer(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-v28-2.2.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 514f5f315cb7f1b8a8435d1402f1ed607dfae3460e715ace6e63db9f9e30436c |
|
MD5 | 6164367f3beb4d78d29888188df8d48a |
|
BLAKE2b-256 | e3e590fc60abf2788d46fd17e4d617057ce5fdc5e4bff71b4aed45c4cd22abf7 |
Close
Hashes for aws_cdk.lambda_layer_kubectl_v28-2.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f55da697f1f5c1e5a54e7234e38ba94c623812fa10c299a7c36f6d30ac53371 |
|
MD5 | 8eb8d5755ebeff6bab04f690b18aedcb |
|
BLAKE2b-256 | 6301abe68652a556e9616b3a0a26b568dcc55a86c9b90e794a0f5c1e377e3a4a |