def set_resource_attribute(self, attr, value):
if attr not in self._supported_resource_attributes:<EOL><INDENT>raise KeyError("<STR_LIT>" % attr)<EOL><DEDENT>self.resource_attributes[attr] = value<EOL>
Sets attributes on resource. Resource attributes are top-level entries of a CloudFormation resource
        that exist outside of the Properties dictionary

        :param attr: Attribute name
        :param value: Attribute value
        :return: None
        :raises KeyError if `attr` is not in the supported attribute list