def __init__(self, resource_properties, policy_template_processor=None):
<EOL>self._policy_template_processor = policy_template_processor<EOL>self.policies = self._get_policies(resource_properties)<EOL>
Initialize with policies data from resource's properties

:param dict resource_properties: Dictionary containing properties of this resource
:param policy_template_processor: Optional Instance of PolicyTemplateProcessor that can conclusively detect
    if a given policy is a template or not. If not provided, then this class will not detect policy templates.