A Lambda Layer that contains kubectl v1.30
Project description
Lambda Layer with KubeCtl v1.30
---This module exports a single class called KubectlV30Layer
which is a lambda.LayerVersion
that
bundles the kubectl
and the
helm
command line.
- Helm Version: 3.15.1
- Kubectl Version: 1.30.0
Usage:
// KubectlLayer bundles the 'kubectl' and 'helm' command lines
import { KubectlV30Layer } from '@aws-cdk/lambda-layer-kubectl-v30';
import * as lambda from 'aws-cdk-lib/aws-lambda';
declare const fn: lambda.Function;
const kubectl = new KubectlV30Layer(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-v30-2.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b078e6f473abd3b4130527648d0660038738d726f4bf3f39ac7863627d160215 |
|
MD5 | c38f72fd786415a5ba0a43b386631c50 |
|
BLAKE2b-256 | c9641402c4b325fc11d827496379bc5466e93037ef788c71b842e327b9ce9e06 |
Close
Hashes for aws_cdk.lambda_layer_kubectl_v30-2.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7af8e43bf2a3101fffbda0e95dd9abd98215f2699fbecd5c3a2661da4cf18f91 |
|
MD5 | 3d71a699db41e0a56f60dc8bace92202 |
|
BLAKE2b-256 | 15fc4383aca65056e4c870727a2f79c9f55c5c527525df921abc64c86d7d1396 |