<s> from . import AWSHelperFn , AWSObject , AWSProperty , Tags <EOL> from . validators import integer , positive_integer , network_port <EOL> class AliasTarget ( AWSHelperFn ) : <EOL> def __init__ ( self , hostedzoneid , dnsname , evaluatetargethealth = None ) : <EOL> self . data = { <EOL> '<STR_LIT>' : hostedzoneid , <EOL> '<STR_LIT>' : dnsname , <EOL> } <EOL> if evaluatetargethealth is not None : <EOL> self . data [ '<STR_LIT>' ] = evaluatetargethealth <EOL> def JSONrepr ( self ) : <EOL> return self . data <EOL> class GeoLocation ( AWSProperty ) : <EOL> props = { <EOL> '<STR_LIT>' : ( basestring , False ) , <EOL> '<STR_LIT>' : ( basestring , False ) , <EOL> '<STR_LIT>' : ( basestring , False ) , <EOL> } <EOL> class BaseRecordSet ( object ) : <EOL> props = { <EOL> '<STR_LIT>' : ( AliasTarget , False ) , <EOL> '<STR_LIT>' : ( basestring , False ) , <EOL> '<STR_LIT>' : ( basestring , False ) , <EOL> '<STR_LIT>' : ( GeoLocation , False ) , <EOL> '<STR_LIT>' : ( basestring , False ) , <EOL> '<STR_LIT>' : ( basestring , False ) , <EOL> '<STR_LIT>' : ( basestring , False ) , <EOL> '<STR_LIT:Name>' : ( basestring , True ) , <EOL> '<STR_LIT>' : ( basestring , False ) , <EOL> '<STR_LIT>' : ( list , False ) , <EOL> '<STR_LIT>' : ( basestring , False ) , <EOL> '<STR_LIT>' : ( integer , False ) , <EOL> '<STR_LIT>' : ( basestring , True ) , <EOL> '<STR_LIT>' : ( integer , False ) , <EOL> } <EOL> class RecordSetType ( AWSObject , BaseRecordSet ) : <EOL> resource_type = "<STR_LIT>" <EOL> class RecordSet ( AWSProperty , BaseRecordSet ) : <EOL> pass <EOL> class RecordSetGroup ( AWSObject ) : <EOL> resource_type = "<STR_LIT>" <EOL> props = { <EOL> '<STR_LIT>' : ( basestring , False ) , <EOL> '<STR_LIT>' : ( basestring , False ) , <EOL> '<STR_LIT>' : ( list , False ) , <EOL> '<STR_LIT>' : ( basestring , False ) , <EOL> } <EOL> class HealthCheckConfiguration ( AWSProperty ) : <EOL> props = { <EOL> '<STR_LIT>' : ( positive_integer , False ) , <EOL> '<STR_LIT>' : ( basestring , False ) , <EOL> '<STR_LIT>' : ( basestring , False ) , <EOL> '<STR_LIT>' : ( network_port , False ) , <EOL> '<STR_LIT>' : ( positive_integer , False ) , <EOL> '<STR_LIT>' : ( basestring , False ) , <EOL> '<STR_LIT>' : ( basestring , False ) , <EOL> '<STR_LIT>' : ( basestring , True ) , <EOL> } <EOL> class HealthCheck ( AWSObject ) : <EOL> resource_type = "<STR_LIT>" <EOL> props = { <EOL> '<STR_LIT>' : ( HealthCheckConfiguration , True ) , <EOL> '<STR_LIT>' : ( Tags , False ) , <EOL> } <EOL> class HostedZoneConfiguration ( AWSProperty ) : <EOL> props = { <EOL> '<STR_LIT>' : ( basestring , False ) , <EOL> } <EOL> class HostedZoneVPCs ( AWSProperty ) : <EOL> props = { <EOL> '<STR_LIT>' : ( basestring , True ) , <EOL> '<STR_LIT>' : ( basestring , True ) , <EOL> } <EOL> class HostedZone ( AWSObject ) : <EOL> resource_type = "<STR_LIT>" <EOL> props = { <EOL> '<STR_LIT>' : ( HostedZoneConfiguration , False ) , <EOL> '<STR_LIT>' : ( Tags , False ) , <EOL> '<STR_LIT:Name>' : ( basestring , True ) , <EOL> '<STR_LIT>' : ( [ HostedZoneVPCs ] , False ) , <EOL> } </s>
