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.104.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c02db24f00c5071a7050051327366dd39e0cf6752244dce2f28395e35ce442fe |
|
MD5 | 6a93793cbb96b74279c529dc68b4e092 |
|
BLAKE2b-256 | 9333ae02359b4d4e59168b6c783622457d477acee63568d092f97eb0b800c407 |
Close
Hashes for aws_cdk.lambda_layer_kubectl_v24-2.0.104-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b2b21eb61d564ed96fa537fca005a34b90117c893a7c80cccb8cc784e08e866 |
|
MD5 | a490fbe6a81b46ef683d35bfd969503f |
|
BLAKE2b-256 | 045a607d052ceeac7190f9e111d1a223cb34369bf7fb3db92a8c4a3b646e91a0 |