About
atc53 - library to create AWS Route53 Traffic Policy Document descriptions.
This library operates in a similar fashion to troposphere by aiming for compatibility and familiarity when defining infrastructure.
Installation
atc53 can be installed using the pip distribution system for Python by issuing:
$ pip install atc53
Examples
A simple example, showing a fail over rule between two load balancers:
from atc53 import PolicyDocument
from atc53.endpoint import Endpoint
from atc53.rule.failover import FailoverRule, Primary, Secondary
p = PolicyDocument()
main = Endpoint('MainEndpoint',
Type='elastic-load-balancer',
Value='elb-222222.us-west-1.elb.amazonaws.com')
backup = Endpoint('BackupEndpoint',
Type='elastic-load-balancer',
Value='elb-111111.us-west-1.elb.amazonaws.com')
rule = FailoverRule('TestFailoverRule',
Primary=Primary(
EndpointReference='MainEndpoint'),
Secondary=Secondary(
EndpointReference='BackupEndpoint')
)
p.add_endpoint(main)
p.add_endpoint(backup)
p.add_rule(rule)
print(p.to_json())
Licensing
atc53 is licensed under the BSD 2-Clause license. See LICENSE for the full license text.
Metadata
Release files for atc53 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| atc53-0.1.0.tar.gz | 6.7 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| atc53-0.1.0-py2-none-any.whl | Python 2 | none | any | Details |
Total release size: 15.4 kB
Release files / atc53-0.1.0.tar.gz
| Download URL | atc53-0.1.0.tar.gz |
|---|---|
| Size | 6.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c4b5f10f40d5b3984a8b78077835ab5833ad68e2d9257b9978eef6423599392d
|
|
BLAKE2b-256 checksum How to use checksums |
c668d32814574df9fae29f58e23e7b2a6b9c08055b7ba48cf7c4ca103d0473ea
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/2.7.10
|
Release files / atc53-0.1.0-py2-none-any.whl
| Download URL | atc53-0.1.0-py2-none-any.whl |
|---|---|
| Size | 8.7 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
2cbbc700ef03297f6c75df7c4d97f5ddff3bcdea7d93b619cc5f318e8b3d8120
|
|
BLAKE2b-256 checksum How to use checksums |
dbbb5092f05446b50466ab016b9adcf23d9200facbedd8f1748f28e64c650f55
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/2.7.10
|
Security for atc53 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.