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.8.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8ee7d6fc194f7949d741691dbefc00ca48c8aa6c376069fcf22bcf449154bb99 |
|
MD5 | 4a0f2e1b4cff931c1dc57accb1ba08f3 |
|
BLAKE2b-256 | 6468b05df97ab11c582fac09b92954c56844bf31c585cd11ca8725fc23381cd3 |
Close
Hashes for aws_cdk.lambda_layer_kubectl_v23-2.0.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a5e0b21bd23552b6a7d8ffc7bcab6b74d8bca6169903e54e686c0163fe61a6c7 |
|
MD5 | 2744b4534ef1feb14566f70f6d58f39a |
|
BLAKE2b-256 | 90c654c5fe5f278a550c70ac9b457323f0ce472b50b4827d29d3d9e3a0031128 |