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.0.1.tar.gz
(13.5 kB
view hashes)
Built Distribution
Close
Hashes for antenny_cdk-2.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2f207a998711f9b18332ae156d4bcdb43e84257c540f4ca254db7d8ace609bd4 |
|
MD5 | aac571b4cb29748f22a459f51abb3307 |
|
BLAKE2b-256 | 5a42b2ed994ed3994baaaa04354e092d9c6f4c2799e84e8d3b694868e6da625d |