A Lambda Layer that contains kubectl v1.23
Project description
Lambda Layer with KubeCtl v1.23
---This module exports a single class called KubectlV23Layer
which is a lambda.LayerVersion
that
bundles the kubectl
and the
helm
command line.
- Helm Version: 3.9.4
- Kubectl Version: 1.23.0
Usage:
// KubectlLayer bundles the 'kubectl' and 'helm' command lines
import { KubectlV23Layer } from '@aws-cdk/lambda-layer-kubectl-v23';
import * as lambda from 'aws-cdk-lib/aws-lambda';
declare const fn: lambda.Function;
const kubectl = new KubectlV23Layer(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-v23-2.0.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3dbd788aa15bd2aa96ebde8e8eadd72654c2a9f9ac8b7185bac571f515ea6849 |
|
MD5 | 7fc87b05f390a9150397ca755d766b9d |
|
BLAKE2b-256 | f4e853c5ebbf0e70acf2b725bca4f9d9528a1175e837f9a9480ea475593b914a |
Close
Hashes for aws_cdk.lambda_layer_kubectl_v23-2.0.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | df5c7ed9f89bbab40c1f32769d54919e2f16f043bfe35fbb3c34fd13ba6e046f |
|
MD5 | 4d16edaf61d0a3252d541a34e1ab0082 |
|
BLAKE2b-256 | 1931f33ae8577c24c1804b42fa86e0d886835647802c7daedcac17074f98182f |