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.131.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e384cf18306968d46a6b641b438448ce7861b29320417dd5ac91783724eed18c |
|
MD5 | a0b1ddf9fa49fd527f64b92c5bea8de8 |
|
BLAKE2b-256 | 7142d4d866e81883143adf6564cdeb7117a37eefbe6b8a37d71b188eca30324c |
Close
Hashes for aws_cdk.lambda_layer_kubectl_v24-2.0.131-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cb1b67ed46f48bb5fd82bea29d32b7adf541037519353a5ee665ed1a95e62a65 |
|
MD5 | 09c1513792cc78799fa0c20166eb46c3 |
|
BLAKE2b-256 | 24eecc9a3b02fdd297e9aefaf5cc26d22fbc18e18326819826b30bbe6f3120c3 |