A Lambda Layer that contains kubectl v1.25
Project description
Lambda Layer with KubeCtl v1.25
---This module exports a single class called KubectlV25Layer
which is a lambda.LayerVersion
that
bundles the kubectl
and the
helm
command line.
- Helm Version: 3.11.1
- Kubectl Version: 1.25.0
Usage:
// KubectlLayer bundles the 'kubectl' and 'helm' command lines
import { KubectlV25Layer } from '@aws-cdk/lambda-layer-kubectl-v25';
import * as lambda from 'aws-cdk-lib/aws-lambda';
declare const fn: lambda.Function;
const kubectl = new KubectlV25Layer(this, 'KubectlLayer');
fn.addLayers(kubectl);
kubectl
will be installed under /opt/kubectl/kubectl
, and helm
will be installed under /opt/helm/helm
.
Project details
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-v25-2.0.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 891b2c969da4a7a7e55c897739a7cd383aef1928cb1c742d0fb21780272f77e8 |
|
MD5 | 87e944ded8cc67f6a3d0bcde67f22be3 |
|
BLAKE2b-256 | 50506e3cf6f07748e92b9b54db57fed625ed30325aedaf4c7dbb92292790546d |
Close
Hashes for aws_cdk.lambda_layer_kubectl_v25-2.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 618c6faccc3e0b30c3102e749fa1fca2de50b06840b4d535da5afad71b59dff1 |
|
MD5 | 9cbb0f94f4c743fbcf61341672751edc |
|
BLAKE2b-256 | 8c76748bde00c3952aafa0ffda35ed1b1a0b359eb9bd7147cd001509248fb8da |