def match_resource_properties(self, properties, resource_type, path, cfn):
    'Check CloudFormation Properties'
    matches = list()
    specs = RESOURCE_SPECS.get(cfn.regions[0]).get('ResourceTypes').get(resource_type, {}).get('Properties', {})
    resource_specs = RESOURCE_SPECS.get(cfn.regions[0]).get('ResourceTypes').get(resource_type)
    matches.extend(self.check(cfn, properties, specs, resource_specs, path))
    return matches
Check CloudFormation Properties
def match_resource_properties(self, properties, resource_type, path, cfn):
    
    matches = list()
    specs = RESOURCE_SPECS.get(cfn.regions[0]).get('ResourceTypes').get(resource_type, {}).get('Properties', {})
    resource_specs = RESOURCE_SPECS.get(cfn.regions[0]).get('ResourceTypes').get(resource_type)
    matches.extend(self.check(cfn, properties, specs, resource_specs, path))
    return matches