Skip to main content

cdk8s-aws-lb-controller-api-object

Release npm version PyPI version npm

API Object for AWS Load Balancer Controller, powered by the cdk8s project and aws-load-balancer-controller 🚀

Overview

# Example automatically generated from non-compiling source. May contain errors.
from constructs import Construct
from cdk8s import App, Chart, ChartProps
from opencdk8s.cdk8s_aws_lb_controller_api_object import AWSLoadBalancerControllerObject

class MyChart(Chart):
    def __init__(self, scope, id, *, namespace=None, labels=None):
        super().__init__(scope, id, namespace=namespace, labels=labels)
        AWSLoadBalancerControllerObject(self, "example",
            metadata={
                "annotations": {
                    "kubernetes.io/ingress.class": "alb"
                }
            },
            spec={
                "rules": [{
                    "host": "example.com",
                    "http": {
                        "paths": [{
                            "path": "/*",
                            "backend": {
                                "service_name": "helloworld-svc",
                                "service_port": 80
                            }
                        }]
                    }
                }]
            }
        )

app = App()
MyChart(app, "example1")
app.synth()

Example cdk8s synth manifest as follows.

manifest.k8s.yaml
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
  annotations:
    kubernetes.io/ingress.class: alb
  name: example-c89c1904
spec:
  rules:
    - host: example.com
      http:
        paths:
          - backend:
              serviceName: helloworld-svc
              servicePort: 80
            path: /*

Installation

TypeScript

Use yarn or npm to install.

$ npm install @opencdk8s/cdk8s-aws-lb-controller-api-objects
$ yarn add @opencdk8s/cdk8s-aws-lb-controller-api-objects

Python

$ pip install cdk8s-aws-lb-controller-api-objects

Contribution

  1. Fork (link)

  2. Bootstrap the repo:

    yarn install # installs dependencies
    yarn projen
    
  3. Development scripts:

    Command Description
    yarn compile Compiles typescript => javascript
    yarn watch Watch & compile
    yarn test Run unit test & linter through jest
    yarn test -u Update jest snapshots
    yarn run package Creates a dist with packages for all languages.
    yarn build Compile + test + package
    yarn bump Bump version (with changelog) based on [conventional commits]
    yarn release Bump + push to master
  4. Create a feature branch

  5. Commit your changes

  6. Rebase your local changes against the master branch

  7. Create a new Pull Request (use conventional commits for the title please)

Licence

Apache License, Version 2.0

Author

Hunter-Thompson

Metadata

Release files for cdk8s-aws-lb-controller-api-object 0.0.7

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

Source distribution (sdist)

Source distribution for cdk8s-aws-lb-controller-api-object 0.0.7
File Size Uploaded Provenance Actions
cdk8s-aws-lb-controller-api-object-0.0.7.tar.gz 321.2 kB Without provenance Details for cdk8s-aws-lb-controller-api-object-0.0.7.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for cdk8s-aws-lb-controller-api-object 0.0.7
File Interpreter ABI Platform Actions
cdk8s_aws_lb_controller_api_object-0.0.7-py3-none-any.whl Python 3 none any Details for cdk8s_aws_lb_controller_api_object-0.0.7-py3-none-any.whl

Total release size: 640.7 kB

Release files / cdk8s-aws-lb-controller-api-object-0.0.7.tar.gz

Download URL cdk8s-aws-lb-controller-api-object-0.0.7.tar.gz
Size 321.2 kB
Tags Source
SHA-256 checksum
How to use checksums
ec8fa176e098eb916363a9af0f268135ef75059757cd28c7d4499fad9dfd2f35
BLAKE2b-256 checksum
How to use checksums
762b3e0379504fb641bbb3991a1b621b8a21f52180dfe2426f0bf778e702be79
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.5

Release files / cdk8s_aws_lb_controller_api_object-0.0.7-py3-none-any.whl

Download URL cdk8s_aws_lb_controller_api_object-0.0.7-py3-none-any.whl
Size 319.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8fc5a974af07d33af0fb0602233e5de29215799555814537c9d9d16fc7d388b6
BLAKE2b-256 checksum
How to use checksums
4ce67e24f38c96025d1d236c7399a47c10ff19636739f2787ebe54aa65833936
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.5

Security for cdk8s-aws-lb-controller-api-object 0.0.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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