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.152.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4c7665fd538012c749e760099b3a7efb122a379eeacc7e362b8c021a0372df3b |
|
MD5 | fd4b80c8e7c6d89e4c2a703aaad05f1b |
|
BLAKE2b-256 | 4c0498298e9e2be09d9b9620995c8663791f1ea41c98a968c4e2f91236b0bb6c |
Close
Hashes for aws_cdk.lambda_layer_kubectl_v24-2.0.152-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3e02adf00e5419341025d873bbe2cb0da6521be0bb702037034c1b9598132f9d |
|
MD5 | 3aa2da36d711f02911d9b2d53280d6b3 |
|
BLAKE2b-256 | 5dd7472e8ecfe2fe3f528f4a7f812b10f5e05a243b06d9c0ce5df94876749dc9 |