A Lambda Layer that contains kubectl v1.22
Project description
Lambda Layer with KubeCtl v1.22
---This module exports a single class called KubectlV22Layer
which is a lambda.LayerVersion
that
bundles the kubectl
and the
helm
command line.
- Helm Version: 3.9.4
- Kubectl Version: 1.22.0
Usage:
// KubectlLayer bundles the 'kubectl' and 'helm' command lines
import { KubectlV22Layer } from '@aws-cdk/lambda-layer-kubectl-v22';
import * as lambda from 'aws-cdk-lib/aws-lambda';
declare const fn: lambda.Function;
const kubectl = new KubectlV22Layer(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-v22-2.0.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | bd069bc7c55a68a74610336d971f96bf734b84fe83039d8621cd1c453e906565 |
|
MD5 | 632378f4095108cb5a1fe459e947d397 |
|
BLAKE2b-256 | d36c07654e129b6765eb4ce7fc3b79346e5837c0bb37bb7f51eed60388f96b9a |
Close
Hashes for aws_cdk.lambda_layer_kubectl_v22-2.0.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 875de156caae7cbfffe9539994c0ee6ce7c8f0a087111c040b4e246f4dca26d9 |
|
MD5 | efb9d450c030bff1398e49fd744b2721 |
|
BLAKE2b-256 | 1550253d2231361264390eebcec3a3a60c6754f71615261fff3cd743755f6b6e |