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.117.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 725c7156b2a07ff3c6d9a41d7f3209d8429877a975e9b5ccc400169bb200cd1e |
|
MD5 | 68433d73fb275627bb7dc469d8335339 |
|
BLAKE2b-256 | fe44b589a180a5c0abb2b696ab4b0a9a2e2074017155b54a39a9437c6ba152ad |
Close
Hashes for aws_cdk.lambda_layer_kubectl_v24-2.0.117-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f3e293f137630e114fb66210feaaa608c09ca5a2dbdc267786b428f5b8991c3 |
|
MD5 | 7aa33ab99a2a9c3a970da00cc7ff7c9e |
|
BLAKE2b-256 | f265f2f95b3f93ef60b8f9c068f33e5aa630739e2766089f7d8749e106b0e744 |