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.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d159c82b817d7e0ef0d978bf6a5bc37c1ca3cb313ab686f314211dea0b2916f1 |
|
MD5 | b4e812743d36ccd34e8034a2cb94e89c |
|
BLAKE2b-256 | b4f805efd54d51fd68404e23c1a07a4d72ba4f7a1f0672f379c567fb5cededc0 |
Close
Hashes for aws_cdk.lambda_layer_kubectl_v22-2.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 19c64260e8472eeab2db10924b653cd9c9de0cf6de3239d426cc4fcc4f09017e |
|
MD5 | d5f051be50f8c1a1cbf24d9df8efaa26 |
|
BLAKE2b-256 | 101065f92da6eb26f2674a82f0010a35fd3477d336dcaa2c2dd91d112d6cedc5 |