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.118.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 362ffc22c6ecf1bff2f91bc8fcecf0fdf18ef761291e329b5eddb05bfab988d1 |
|
MD5 | 658e4af48b0a0c0c1fa9f0fd17a2f794 |
|
BLAKE2b-256 | 4f844dd10431339bde550766a9a43f83af0841d8909c81117df2bd8db3429cf3 |
Close
Hashes for aws_cdk.lambda_layer_kubectl_v24-2.0.118-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e62dcc17816838fce93e2b818318dc61a3b259172ae61de2b721c96602ca03e1 |
|
MD5 | bb1d0b3078e4761f85c23c0894c19a73 |
|
BLAKE2b-256 | e98a58c631b1e381caf6b6939d313ecfc688e675f36620b18800e5624a82c6a9 |