@staticmethod<EOL><INDENT>def _replace_property(property_key, property_value, resource, logical_id):<DEDENT>
if property_key and property_value:<EOL><INDENT>resource.get(PROPERTIES_KEY, {})[property_key] = property_value<EOL><DEDENT>elif property_key or property_value:<EOL><INDENT>LOG.info("<STR_LIT>"<EOL>"<STR_LIT>", logical_id)<EOL><DEDENT>
Replace a property with an asset on a given resource

This method will mutate the template

Parameters
----------
property str
    The property to replace on the resource
property_value str
    The new value of the property
resource dict
    Dictionary representing the Resource to change
logical_id str
    LogicalId of the Resource