Skip to main content

Asset with KubeCtl v1.21

---

cdk-constructs: Experimental


This library is currently under development. Do not use!

This module exports a single class called KubectlAsset which is an s3_assets.Asset that bundles the kubectl and the helm command line.

  • Helm Version: 3.9.4
  • Kubectl Version: 1.21.0

Usage:

// KubectlAsset bundles the 'kubectl' and 'helm' command lines
import { KubectlAsset } from '@aws-cdk/asset-kubectl-v21';
import * as lambda from 'aws-cdk-lib/aws-lambda';

declare const fn: lambda.Function;
const kubectl = new KubectlAsset(this, 'KubectlAsset');
fn.addLayers(new lambda.LayerVersion(this, 'KubectlLayer', {
  code: lambda.Code.fromBucket(kubectl.bucket, kubectl.s3ObjectKey),
}));

kubectl will be installed under /opt/kubectl/kubectl, and helm will be installed under /opt/helm/helm.

Metadata

Release files for aws-cdk.asset-kubectl-v21 0.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aws-cdk.asset-kubectl-v21 0.0.3
File Size Uploaded
aws-cdk.asset-kubectl-v21-0.0.3.tar.gz 27.3 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for aws-cdk.asset-kubectl-v21 0.0.3
File Interpreter ABI Platform
aws_cdk.asset_kubectl_v21-0.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 54.6 MB

Release files / aws-cdk.asset-kubectl-v21-0.0.3.tar.gz

Download URL aws-cdk.asset-kubectl-v21-0.0.3.tar.gz
Size 27.3 MB
Tags Source
SHA-256 checksum
How to use checksums
6ccc97a8cfbb4494f7a46f74fbcf83dd59d1a4c02f435aed7d6d250cc99b9f5f
BLAKE2b-256 checksum
How to use checksums
20852f3045f9817229df5392ff6fefa5f9e563ff12e838e11671c8f19e1c88f3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.7

Release files / aws_cdk.asset_kubectl_v21-0.0.3-py3-none-any.whl

Download URL aws_cdk.asset_kubectl_v21-0.0.3-py3-none-any.whl
Size 27.3 MB
Tags Python 3
SHA-256 checksum
How to use checksums
dc59a0d6fc9c13b5bf42548ee87fa69f1fd5db611bf4294099e87430bd5951ab
BLAKE2b-256 checksum
How to use checksums
e8fa7ecc84799a6202c2b2971d59c61b1d98ed6303dfce26472aa4115af65c2c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.7

Release history Release notifications | RSS feed

This release

0.0.3 This release

2 release files

0.0.2

2 release files

0.0.1

2 release files

0.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page