def match_resource_sub_properties(self, properties, property_type, path, cfn):
    'Match for sub properties'
    matches = list()
    specs = RESOURCE_SPECS.get(cfn.regions[0]).get('PropertyTypes').get(property_type, {}).get('Properties', {})
    property_specs = RESOURCE_SPECS.get(cfn.regions[0]).get('PropertyTypes').get(property_type)
    matches.extend(self.check(cfn, properties, specs, property_specs, path))
    return matches
Match for sub properties
def match_resource_sub_properties(self, properties, property_type, path, cfn):
    
    matches = list()
    specs = RESOURCE_SPECS.get(cfn.regions[0]).get('PropertyTypes').get(property_type, {}).get('Properties', {})
    property_specs = RESOURCE_SPECS.get(cfn.regions[0]).get('PropertyTypes').get(property_type)
    matches.extend(self.check(cfn, properties, specs, property_specs, path))
    return matches