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.54.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b979c34a1e598439678260c68fcf018da353365e8e869ac765dc8d3b20e3f690 |
|
MD5 | 306ab307224f6a93c0269338be180419 |
|
BLAKE2b-256 | d77b613e76a932d388f4f5cec0a0871ac8600906574fb774239eecefb32ab38e |
Close
Hashes for aws_cdk.lambda_layer_kubectl_v24-2.0.54-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f9b846fe50477077a5712b6a1c8c6cb3f20394bda0b2e8e14f6b0dc9230ecb1 |
|
MD5 | 471ddd21b8d9162d3c82f582621efe41 |
|
BLAKE2b-256 | 36f74c7b352aee14a5090590a65c6222c02491fe338c9dfed364f84e07bd88f8 |