antenny-cdk
    TypeScript icon, indicating that this package has built-in type declarations

    2.1.0 • Public • Published

    antenny-cdk

    antenny-cdk is a cloud development kit construct library for Antenny. It provides a way to integrate Antenny into your cdk infrastructure.

    Installation

    npm

    npm install antenny-cdk --save

    pip

    pip install antenny-cdk

    nuget

    dotnet add package Antenny.Cdk

    Usage

    To create a subscription in your aws-cdk project:

    const antenny = require('antenny-cdk');
    
    const sub = new antenny.Subscription(this, 'Sub', {
      apiKey: '{api-key}',
      subscription: {
        name: 'example-subscription',
        customerId: '{customerId}',
        region: '{aws-region}',
        resource: {
          protocol: 'ws',
          url: 'wss://example.com'
        },
        endpoint: {
          protocol: 'http',
          url: 'https://example.com'
        }
      }
    });

    There is also a real world example included in our sample-app.

    Keywords

    none

    Install

    npm i antenny-cdk

    DownloadsWeekly Downloads

    10

    Version

    2.1.0

    License

    MIT

    Unpacked Size

    52.3 kB

    Total Files

    11

    Last publish

    Collaborators

    • antenny-admin