patroni.scripts.aws module
- class patroni.scripts.aws.AWSConnection(cluster_name: str | None)View on GitHub
Bases:
object- __init__(cluster_name: str | None) NoneView on GitHub
- _tag_ebs(conn: Any, role: str) NoneView on GitHub
set tags, carrying the cluster name, instance role and instance id for the EBS storage
- _tag_ec2(conn: Any, role: str) NoneView on GitHub
tag the current EC2 instance with a cluster role
- aws_available() boolView on GitHub
- on_role_change(new_role: str) boolView on GitHub
- retry(*args: Any, **kwargs: Any) AnyView on GitHub
- patroni.scripts.aws.main()View on GitHub