@@ -0,0 +1,2038 @@
+# Copyright 2015 David R. Bild%0A#%0A#    Licensed under the Apache License, Version 2.0 (the %22License%22);%0A#    you may not use this file except in compliance with the License.%0A#    You may obtain a copy of the License at%0A#%0A#        http://www.apache.org/licenses/LICENSE-2.0%0A#%0A#    Unless required by applicable law or agreed to in writing, software%0A#    distributed under the License is distributed on an %22AS IS%22 BASIS,%0A#    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0A#    See the License for the specific language governing permissions and%0A#    limitations under the License.%0A%0Afrom copy import copy%0A%0Afrom stratiform.base import AWSObject, prop%0Afrom stratiform.common import AvailabilityZone%0Afrom stratiform.utils import snake_case%0A%0Afrom stratiform.resources import Resource, Tags%0A%0A################################ AWS Resource Types ################################%0Aclass LoadBalancer(Resource):%0A    resource_type = 'AWS::ElasticLoadBalancing::LoadBalancer'%0A    %0A    @staticmethod%0A    def props():%0A        return %5Bprop('AccessLoggingPolicy'),%0A                prop('AppCookieStickinessPolicy'),%0A                prop('AvailabilityZone', AvailabilityZone),%0A                prop('ConnectionDrainingPolicy'),%0A                prop('ConnectionSettings'),%0A                prop('CrossZone'),%0A                prop('HealthCheck'),%0A                prop('Instances'),%0A                prop('LBCookieStickinessPolicy'),%0A                prop('LoadBalancerName'),%0A                prop('Listeners'),%0A                prop('Policies'),%0A                prop('Scheme'),%0A                prop('SecurityGroups'),%0A                prop('Subnets'),%0A                prop('Tags', Tags)%5D%0A%0A#### Public API ####%0A# Generate functional snake_cased form of constructors for public API%0Adef __is_resource(obj):%0A    return issubclass(type(obj), type) and issubclass(obj, Resource)%0Aconstructors = %7Bsnake_case(name): obj for (name, obj) in globals().items() if __is_resource(obj)%7D%0Aglobals().update(constructors)%0A%0A__all__ = sorted(constructors.keys())%0A

add elb support