This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from boto import ec2 | |
| class Resource(object): | |
| """ | |
| Represents a single resource returned from the Discovery class's | |
| get_resources method. | |
| """ | |
| def __init__(self, host_name, private_host_name, ip, private_ip, tags): | |
| self.__host_name = host_name | |
| self.__private_host_name = private_host_name |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Environment-specific settings for python 2 modules | |
| # This code placed in __init__.py will allow a module to maintain | |
| # environment-specific settings in files located in a settings folder | |
| # within the module. | |
| # | |
| # Example: | |
| # | |
| # ├── mymodule.py | |
| # ├── __init__.py |
NewerOlder