Skip to main content

A Lambda Layer that contains kubectl v1.23

Project description

Lambda Layer with KubeCtl v1.23

---

cdk-constructs: Stable


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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aws-cdk.lambda-layer-kubectl-v23-2.0.8.tar.gz (27.2 MB view details)

Uploaded Source

Built Distribution

File details

Details for the file aws-cdk.lambda-layer-kubectl-v23-2.0.8.tar.gz.

File metadata

File hashes

Hashes for aws-cdk.lambda-layer-kubectl-v23-2.0.8.tar.gz
Algorithm Hash digest
SHA256 8ee7d6fc194f7949d741691dbefc00ca48c8aa6c376069fcf22bcf449154bb99
MD5 4a0f2e1b4cff931c1dc57accb1ba08f3
BLAKE2b-256 6468b05df97ab11c582fac09b92954c56844bf31c585cd11ca8725fc23381cd3

See more details on using hashes here.

File details

Details for the file aws_cdk.lambda_layer_kubectl_v23-2.0.8-py3-none-any.whl.

File metadata

File hashes

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

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page