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.162.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 59639e1d396538f7d31cf09ec8c5b4c88dc009da69ab799496c2fc5b9749666c |
|
MD5 | c55f28bf92f35a80c2ea45ab76c1772d |
|
BLAKE2b-256 | 1d50723fd090a79dee7a4a6049d1d80fca9bee1b2dbeb9457aecf67882326a63 |
Close
Hashes for aws_cdk.lambda_layer_kubectl_v24-2.0.162-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 65a150b3ca916653230c76ed476efa44f0853175a04db2026ac8b5460c78b4f9 |
|
MD5 | f5a47df3b795370729e81efcb2576653 |
|
BLAKE2b-256 | 6bf5715e9e050d4de20eb177797b5e8d2ec40f2ae1518558369abf6c7cb2cadb |