cdk constructs for antenny
Project description
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.
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
antenny-cdk-2.1.0.tar.gz
(14.6 kB
view details)
Built Distribution
File details
Details for the file antenny-cdk-2.1.0.tar.gz
.
File metadata
- Download URL: antenny-cdk-2.1.0.tar.gz
- Upload date:
- Size: 14.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f929ea1d40ebfb28692edc2849b1021a184393d75cd5a04ee6ace6249375d60e |
|
MD5 | fba7a2ef9b985a3f56a1d761a292b923 |
|
BLAKE2b-256 | 5b6c6b2ae602c091d566a46b21c5a1623d9f339c8479ae495485838ec0d71f65 |
File details
Details for the file antenny_cdk-2.1.0-py3-none-any.whl
.
File metadata
- Download URL: antenny_cdk-2.1.0-py3-none-any.whl
- Upload date:
- Size: 14.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 314f2c1886eb198bb7efdf4d80885fc3605db9f4b38d356ed03e74d73bd730e7 |
|
MD5 | 5e82541f702d711fe8ed398cd3e895d0 |
|
BLAKE2b-256 | b0d77bab073d49a2dcdc8042425d7a6cf58e90818b4e743df0579eecdac3f865 |