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.45.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | cf773ea71204e8ee6160be288bbf4aaecd651e8b5a5e80246c03568b70f4069c |
|
MD5 | ece59fe073b8db2b64fd569924c7d3f7 |
|
BLAKE2b-256 | f82a4763610c0b28be7a3a061ee450652129f29426c220516329db80ecbdc577 |
Close
Hashes for aws_cdk.lambda_layer_kubectl_v24-2.0.45-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a8b2613834d4ce70528b7732dc540c54d7cd6452cfddfe77d3fc3609532f5337 |
|
MD5 | e21bd1542e9f188a8a4b17adaa638ee4 |
|
BLAKE2b-256 | bfb4c9ee4a3a98b8992e108be396693ecc861d16aeab900881d17a299000c28c |