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.165.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1a8b00c46a633864705bc6ec6943dd536200d90853205996e74592b391a513ff |
|
MD5 | 196b55240b877e1fda29271c77625928 |
|
BLAKE2b-256 | 7627f27ea0e732b867a4295aa19a4e8327b582913b7dc9b961d4c16ea82f8d5d |
Close
Hashes for aws_cdk.lambda_layer_kubectl_v24-2.0.165-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e51f9783c8c2e0783d3ea821d3618c0eb10675443179c22133b75b54f3549d3f |
|
MD5 | 71a5aacda1fa4f0c2c04c1fe61572779 |
|
BLAKE2b-256 | f59ca90f6c8f682edf8702ce6e73f067a0e6e37fa8d2412366dc4ef4c0b82ccd |