changeset 42304 | dd6a9723ae2b |
parent 42024 | b05a3e28cf24 |
child 43076 | 2372284d9457 |
42303:fcb97cb91ff8 | 42304:dd6a9723ae2b |
---|---|
51 |
51 |
52 p.chmod(0o0600) |
52 p.chmod(0o0600) |
53 |
53 |
54 return password |
54 return password |
55 |
55 |
56 def aws_connection(self, region: str): |
56 def aws_connection(self, region: str, ensure_ec2_state: bool=True): |
57 """Obtain an AWSConnection instance bound to a specific region.""" |
57 """Obtain an AWSConnection instance bound to a specific region.""" |
58 |
58 |
59 return AWSConnection(self, region) |
59 return AWSConnection(self, region, ensure_ec2_state=ensure_ec2_state) |