@classmethod<EOL><INDENT>def _validate_resource_dict(cls, logical_id, resource_dict):<DEDENT>
if '<STR_LIT>' not in resource_dict:<EOL><INDENT>raise InvalidResourceException(logical_id, "<STR_LIT>")<EOL><DEDENT>if resource_dict['<STR_LIT>'] != cls.resource_type:<EOL><INDENT>raise InvalidResourceException(logical_id, "<STR_LIT>"<EOL>"<STR_LIT>".format(<EOL>expected=cls.resource_type,<EOL>actual=resource_dict['<STR_LIT>']))<EOL><DEDENT>if '<STR_LIT>' in resource_dict and not isinstance(resource_dict['<STR_LIT>'], dict):<EOL><INDENT>raise InvalidResourceException(logical_id, "<STR_LIT>")<EOL><DEDENT>
Validates that the provided resource dict contains the correct Type string, and the required Properties dict.

        :param dict resource_dict: the resource dict to validate
        :returns: True if the resource dict has the expected format
        :rtype: bool
        :raises InvalidResourceException: if the resource dict has an invalid format