{"id":18600917,"url":"https://github.com/cloudtools/atc53","last_synced_at":"2025-04-11T04:51:54.886Z","repository":{"id":57412331,"uuid":"141261378","full_name":"cloudtools/atc53","owner":"cloudtools","description":"atc53 - Python library to create Route53 Traffic Policy Documents","archived":false,"fork":false,"pushed_at":"2018-07-31T13:51:22.000Z","size":19,"stargazers_count":2,"open_issues_count":0,"forks_count":3,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-25T03:01:35.392Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cloudtools.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-07-17T08:57:15.000Z","updated_at":"2020-09-27T12:25:12.000Z","dependencies_parsed_at":"2022-08-28T01:11:49.966Z","dependency_job_id":null,"html_url":"https://github.com/cloudtools/atc53","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudtools%2Fatc53","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudtools%2Fatc53/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudtools%2Fatc53/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudtools%2Fatc53/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cloudtools","download_url":"https://codeload.github.com/cloudtools/atc53/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247871458,"owners_count":21010046,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-07T02:06:25.879Z","updated_at":"2025-04-11T04:51:54.869Z","avatar_url":"https://github.com/cloudtools.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"=====\natc53\n=====\n\n.. image:: https://travis-ci.org/cloudtools/atc53.png?branch=master\n    :target: https://travis-ci.org/cloudtools/atc53\n\nAbout\n=====\n\natc53 - library to create `AWS Route53 Traffic Policy Document`_ descriptions.\n\nThis library operates in a similar fashion to `troposphere`_ by aiming for\ncompatibility and familiarity when defining infrastructure.\n\nInstallation\n============\n\natc53 can be installed using the pip distribution system for Python by issuing:\n\n.. code:: sh\n\n    $ pip install atc53\n\nExamples\n========\n\nA simple example, showing a fail over rule between two load balancers:\n\n.. code:: python\n\n    from atc53 import PolicyDocument\n    from atc53.endpoint import Endpoint\n    from atc53.rule.failover import FailoverRule, Primary, Secondary\n\n    p = PolicyDocument()\n    main = Endpoint('MainEndpoint',\n                    Type='elastic-load-balancer',\n                    Value='elb-222222.us-west-1.elb.amazonaws.com')\n    backup = Endpoint('BackupEndpoint',\n                      Type='elastic-load-balancer',\n                      Value='elb-111111.us-west-1.elb.amazonaws.com')\n    rule = FailoverRule('TestFailoverRule',\n                        Primary=Primary(\n                            EndpointReference='MainEndpoint'),\n                        Secondary=Secondary(\n                            EndpointReference='BackupEndpoint')\n                        )\n    p.add_endpoint(main)\n    p.add_endpoint(backup)\n    p.add_rule(rule)\n    print(p.to_json())\n\n\nLicensing\n=========\n\natc53 is licensed under the `BSD 2-Clause license`_.\nSee `LICENSE`_ for the full license text.\n\n.. _`AWS Route53 Traffic Policy Document`: https://docs.aws.amazon.com/Route53/latest/APIReference/api-policies-traffic-policy-document-format.html\n.. _`troposphere`: https://github.com/cloudtools/troposphere\n.. _`BSD 2-Clause license`: https://opensource.org/licenses/BSD-2-Clause\n.. _`LICENSE`: https://github.com/cloudtools/atc53/blob/master/LICENSE\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloudtools%2Fatc53","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcloudtools%2Fatc53","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloudtools%2Fatc53/lists"}