~ubuntu-branches/ubuntu/trusty/python-boto/trusty

« back to all changes in this revision

Viewing changes to boto/ec2/elb/healthcheck.py

  • Committer: Package Import Robot
  • Author(s): Eric Evans
  • Date: 2013-05-10 23:38:14 UTC
  • mfrom: (1.1.10) (14.1.2 experimental)
  • Revision ID: package-import@ubuntu.com-20130510233814-701dvlop7xfh88i7
Tags: 2.9.2-1
New upstream release (Closes: #700743).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (c) 2006-2009 Mitch Garnaat http://garnaat.org/
 
1
# Copyright (c) 2006-2012 Mitch Garnaat http://garnaat.org/
 
2
# Copyright (c) 2012 Amazon.com, Inc. or its affiliates.
 
3
# All Rights Reserved
2
4
#
3
5
# Permission is hereby granted, free of charge, to any person obtaining a
4
6
# copy of this software and associated documentation files (the
19
21
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
20
22
# IN THE SOFTWARE.
21
23
 
 
24
 
22
25
class HealthCheck(object):
23
26
    """
24
27
    Represents an EC2 Access Point Health Check. See
77
80
        if not self.access_point:
78
81
            return
79
82
 
80
 
        new_hc = self.connection.configure_health_check(self.access_point, self)
 
83
        new_hc = self.connection.configure_health_check(self.access_point,
 
84
                                                        self)
81
85
        self.interval = new_hc.interval
82
86
        self.target = new_hc.target
83
87
        self.healthy_threshold = new_hc.healthy_threshold
84
88
        self.unhealthy_threshold = new_hc.unhealthy_threshold
85
89
        self.timeout = new_hc.timeout
86
 
 
87