A Lambda Layer that contains kubectl v1.21
Project description
Lambda Layer with KubeCtl v1.21
---This module exports a single class called KubectlLayer
which is a lambda.LayerVersion
that
bundles the kubectl
and the
helm
command line.
- Helm Version: 3.9.4
- Kubectl Version: 1.21.0
Usage:
// KubectlLayer bundles the 'kubectl' and 'helm' command lines
import { KubectlLayer } from '@aws-cdk/lamba-layer-kubectl-v21';
import * as lambda from 'aws-cdk-lib/aws-lambda';
declare const fn: lambda.Function;
const kubectl = new KubectlLayer(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-v21-2.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 20c7ba9b2a22e2d84624b94bff655d7e9e8a6125bbf740ccf860f78b318291db |
|
MD5 | b448fa3568bb694ba710e4de5afb7059 |
|
BLAKE2b-256 | e8af5855c27bf0bbc4e0ba398266e024dd6382c8a38ccbc2e0dd56c9b242c1c5 |
Close
Hashes for aws_cdk.lambda_layer_kubectl_v21-2.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f55708b5936a8a0fe20acf7c4d455a7e1880f6d4f89ca2baf27662e6ab6a7753 |
|
MD5 | 1a1a4a045b1a23a52e46fdd62fc081bf |
|
BLAKE2b-256 | d38286c9b93f9071e0a50665bd97c9374826816f54b9e1fa12ce1ebf908f708c |