antenny-cdk-2.1.0
توضیحات
cdk constructs for antenny
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | antenny-cdk-2.1.0 |
| نام | antenny-cdk |
| نسخه کتابخانه | 2.1.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Jacob Breindel |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | https://github.com/antenny/antenny-cdk.git |
| آدرس اینترنتی | https://pypi.org/project/antenny-cdk/ |
| مجوز | MIT |
# 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
```shell
npm install antenny-cdk --save
```
#### pip
```shell
pip install antenny-cdk
```
#### nuget
```shell
dotnet add package Antenny.Cdk
```
## Usage
To create a subscription in your aws-cdk project:
```javascript
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](https://github.com/antenny/sample-app).
نیازمندی
| مقدار | نام |
|---|---|
| <2.0.0,>=1.82.0 | aws-cdk.aws-iam |
| <2.0.0,>=1.82.0 | aws-cdk.aws-lambda |
| <2.0.0,>=1.82.0 | aws-cdk.aws-logs |
| <2.0.0,>=1.82.0 | aws-cdk.core |
| <2.0.0,>=1.82.0 | aws-cdk.custom-resources |
| <2.0.0,>=1.16.0 | jsii |
| >=0.0.3 | publication |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl antenny-cdk-2.1.0:
pip install antenny-cdk-2.1.0.whl
نصب پکیج tar.gz antenny-cdk-2.1.0:
pip install antenny-cdk-2.1.0.tar.gz