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.78.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 02598ee0a9dc7e62c9c91db3016e4da16fc1c8e7ce46690688aaf6a1d740ffe4 |
|
MD5 | c6cc784d052df4c4cadf20e3950ed8dc |
|
BLAKE2b-256 | 547ffa37eca912be491ea5ef1a8213fbc1a0c4dddc026d6fb09f9d9cd8ffb44b |
Close
Hashes for aws_cdk.lambda_layer_kubectl_v24-2.0.78-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 81e26a6fd1342901721ac49ab0ed6e04cac6a62b602ee54bd0cc9ca5f83320db |
|
MD5 | cfe5821836f99bb116bf7affb702b56d |
|
BLAKE2b-256 | a0f08c880a312584f0ab9bfece8b754aef38dc0fb4b0e50f48218f3dac85a5af |