A Lambda Layer that contains kubectl v1.25
Project description
Lambda Layer with KubeCtl v1.25
---This module exports a single class called KubectlV25Layer
which is a lambda.LayerVersion
that
bundles the kubectl
and the
helm
command line.
- Helm Version: 3.11.1
- Kubectl Version: 1.25.0
Usage:
// KubectlLayer bundles the 'kubectl' and 'helm' command lines
import { KubectlV25Layer } from '@aws-cdk/lambda-layer-kubectl-v25';
import * as lambda from 'aws-cdk-lib/aws-lambda';
declare const fn: lambda.Function;
const kubectl = new KubectlV25Layer(this, 'KubectlLayer');
fn.addLayers(kubectl);
kubectl
will be installed under /opt/kubectl/kubectl
, and helm
will be installed under /opt/helm/helm
.
Project details
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-v25-2.0.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9fb652e8adc0844b40ec4d31af3a4d44887a447fec2297e10ffb9bb15a2a4d64 |
|
MD5 | 8eb10ca35a64367310ef2742c4eba09e |
|
BLAKE2b-256 | 2da965ae13ddf9710b685c8947abe349c1267d0d2f5c39862f026eda9972a57b |
Close
Hashes for aws_cdk.lambda_layer_kubectl_v25-2.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fdd6b685b6bdde85d67d2381b792eec8f794762e64db9cec706d9f23f3a41752 |
|
MD5 | 626105d161625ee56e1ef32e52d9cb1b |
|
BLAKE2b-256 | f14ab5cc44562dd544825925d49554a62fbac862364eded8c500f08dac0833db |