patroni.scripts.aws module

class _patroni.scripts.aws.AWSConnection(_cluster_name: str | None) View on GitHub

Bases: object +

__init\\__(cluster_name: str | None) → None View on GitHub

+

tag_ebs(_conn: Any, role: str) → None View on GitHub

set tags, carrying the cluster name, instance role and instance id for the EBS storage +

tag_ec2(_conn: Any, role: str) → None View on GitHub

tag the current EC2 instance with a cluster role +

aws_available() → bool View on GitHub

+

on_role_change(new_role: str) → bool View on GitHub

+

retry(*args: Any, **kwargs: Any) → Any View on GitHub
patroni.scripts.aws.main() View on GitHub

Previous Next


© Copyright 2015 Compose, Zalando SE. Revision 9d231aee.

Built with Sphinx using a theme provided by Read the Docs.

Read the Docs v: latest

+ Builds