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