BOTO3的简单立面
boto3facade的Python项目详细描述
BOTO3立面[构建状态](https://travis-ci.org/findhotel/boto3facade.svg?branch=master)(https://travis ci.org/findhotel/boto3facade)
[![pypi](https://img.shields.io/pypi/v/boto3facade.svg?style=flat)(https://pypi.python.org/pypi/boto3 facade)
`boto3facade`模块不打算直接使用,而是作为使用boto3的项目的共享组件。
[boto3]:https://github.com/boto/boto3
git+https://github.com/findhotel/boto3facade
```
要安装最新的稳定版本:
``````
pip安装boto3facade
`````
例如,“boto3facade.ec2”模块
实现了[aws ec2服务][ec2]的facade。每个模块通常只包含一个类,称为对应的aws服务。例如,
“boto3facade.ec2”模块包含一个“ec2”类。在某些情况下,可能还有一些公共模块函数实现不需要访问[aws boto3 sdk][boto3]的实用程序。比如在EC2的外立面:
[ec2:https://aws.amazon.com/ec2/
``python
``把boto3facade.ec2导入为ec2
` ` ` `` python
``把boto3facade.ec2导入为ec2
` `;如果EC2是EC2实例,则获取与EC2实例关联的角色的名称;如果EC2是EC2实例,则获取与EC2实例相关的角色的名称;如果EC2是EC2实例,则获取与EC2实例相关的角色的角色的名称;如果这段代码是在EC2实例中运行,则获取与EC2实例相关的角色的角色的角色的角色角色名称=none
```
实际使用“boto3”的facade方法始终作为实例实现
方法:
``python
从boto3facade.ec2导入ec2
'version','latest'}
ami-list=my_ec2_facade.get_ami_by_tag(ami_tags)
.env/bin/激活
```
等等。请在[Github项目页](http://github.com/findhotel/boto3facade)上创建一个问题。
戈麦斯·赫雷罗和芬德酒店。
[![pypi](https://img.shields.io/pypi/v/boto3facade.svg?style=flat)(https://pypi.python.org/pypi/boto3 facade)
`boto3facade`模块不打算直接使用,而是作为使用boto3的项目的共享组件。
[boto3]:https://github.com/boto/boto3
git+https://github.com/findhotel/boto3facade
```
要安装最新的稳定版本:
``````
pip安装boto3facade
`````
例如,“boto3facade.ec2”模块
实现了[aws ec2服务][ec2]的facade。每个模块通常只包含一个类,称为对应的aws服务。例如,
“boto3facade.ec2”模块包含一个“ec2”类。在某些情况下,可能还有一些公共模块函数实现不需要访问[aws boto3 sdk][boto3]的实用程序。比如在EC2的外立面:
[ec2:https://aws.amazon.com/ec2/
``python
``把boto3facade.ec2导入为ec2
` ` ` `` python
``把boto3facade.ec2导入为ec2
` `;如果EC2是EC2实例,则获取与EC2实例关联的角色的名称;如果EC2是EC2实例,则获取与EC2实例相关的角色的名称;如果EC2是EC2实例,则获取与EC2实例相关的角色的角色的名称;如果这段代码是在EC2实例中运行,则获取与EC2实例相关的角色的角色的角色的角色角色名称=none
```
实际使用“boto3”的facade方法始终作为实例实现
方法:
``python
从boto3facade.ec2导入ec2
'version','latest'}
ami-list=my_ec2_facade.get_ami_by_tag(ami_tags)
.env/bin/激活
```
等等。请在[Github项目页](http://github.com/findhotel/boto3facade)上创建一个问题。
戈麦斯·赫雷罗和芬德酒店。