aws-greengrass-group-setup
--------------------------
[![PyPI](https://img.shields.io/pypi/l/gg-group-setup.svg)]() [![PyPI](https://img.shields.io/pypi/v/gg-group-setup.svg)]()
Greengrass **`gg_group_setup`** is an example file-driven approach to the creation
of an entire AWS Greengrass group.
Usually the following discrete steps are necessary to setup and deploy a Greengrass group.
- [`create_core_definition`](https://boto3.readthedocs.io/en/latest/reference/services/greengrass.html#Greengrass.Client.create_core_definition)
- [`create_device_definition`](https://boto3.readthedocs.io/en/latest/reference/services/greengrass.html#Greengrass.Client.create_device_definition)
- [`create_function_definition`](https://boto3.readthedocs.io/en/latest/reference/services/greengrass.html#Greengrass.Client.create_function_definition)
- [`create_logger_definition`](https://boto3.readthedocs.io/en/latest/reference/services/greengrass.html#Greengrass.Client.create_logger_definition)
- [`create_subscription_definition`](https://boto3.readthedocs.io/en/latest/reference/services/greengrass.html#Greengrass.Client.create_subscription_definition)
- [`create_deployment`](https://boto3.readthedocs.io/en/latest/reference/services/greengrass.html#Greengrass.Client.create_deployment)
**`gg_group_setup`** provides functioning example code of how a Greengrass Group is
created. It also provides a:
- `gg_group_setup` config file parser `GroupConfigFile` which can be sub-classed
- file-driven command line interface
The file-driven command line demonstrates the steps necessary to create
a Greengrass Group. The command line includes four commands:
`create`, `deploy`, `clean_all`, and `clean_file`.
Installation
------------
The quickest way to get `gg_group_setup` is to install the latest stable version via `pip`.
pip install gg-group-setup
..or of course you can clone this repository and execute `python setup.py install .`
After installation, for help type:
gg_group_setup create -- --help
gg_group_setup deploy -- --help
gg_group_setup clean_all -- --help
gg_group_setup clean_file -- --help
Quick Start
-----------
At a high-level the process to create a Greengrass group using `gg_group_setup` is as follows:
..make your Things
..create and alias your Lambda ƒ
..update config file
$ gg_group_setup create <config_file>
The command line tool can be used once the AWS IoT Things are [created and attached](http://docs.aws.amazon.com/iot/latest/developerguide/thing-registry.html)
to a [certificate](http://docs.aws.amazon.com/iot/latest/developerguide/managing-device-certs.html)
and AWS Lambda functions are [created](http://docs.aws.amazon.com/lambda/latest/dg/with-scheduledevents-example.html)
and [aliased](http://docs.aws.amazon.com/lambda/latest/dg/aliases-intro.html)
in the AWS Platform.
> Note: **gg_group_setup** also includes a Mock Device Lambda function you can use to
get started.
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
资源分类:Python库 所属语言:Python 资源全名:gg_group_setup-0.1.6.tar.gz 资源来源:官方 安装方法:https://lanzao.blog.csdn.net/article/details/101784059
资源推荐
资源详情
资源评论
收起资源包目录
gg_group_setup-0.1.6.tar.gz (20个子文件)
gg_group_setup-0.1.6
MANIFEST.in 128B
PKG-INFO 1KB
README.rst 247B
gg_group_setup.egg-info
PKG-INFO 1KB
requires.txt 25B
not-zip-safe 1B
SOURCES.txt 470B
entry_points.txt 74B
top_level.txt 27B
dependency_links.txt 1B
LICENSE 11KB
setup.cfg 67B
requirements.txt 24B
setup.py 2KB
README.md 3KB
gg_group_setup
mock_device.py 4KB
cfg.json 1KB
group.py 12KB
__init__.py 685B
cmd.py 13KB
共 20 条
- 1
资源评论
挣扎的蓝藻
- 粉丝: 14w+
- 资源: 15万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功