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.99.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1222eb054d612adc400eb86d7cc9c2baf60e151f5cfddc6aaba1444cca078b85 |
|
MD5 | 85609d5c5a2b54d8fd896fba8999a460 |
|
BLAKE2b-256 | 11a62e35ce9e3db9d60297655d7828da9fa5956e7013fde942b3104a01f480f7 |
Close
Hashes for aws_cdk.lambda_layer_kubectl_v24-2.0.99-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bc1e860df418aab33c2b4bc8a54505361f824fb72688a6a6475b02cb0a5ca88c |
|
MD5 | a98b3ffcaa00cbba03b69120ff38118d |
|
BLAKE2b-256 | eac24ace3df7fed45eddd3b14c9fdd9b5fc3866d9218217925df292faf58475a |