def resolve_parameter_refs(self, input_dict, parameters):
def do_replacement(full_ref, prop_name):<EOL><INDENT>"""<STR_LIT>"""<EOL>return parameters.get(prop_name, full_ref)<EOL><DEDENT>return self._handle_sub_action(input_dict, do_replacement)<EOL>
Substitute references found within the string of `Fn::Sub` intrinsic function

:param input_dict: Dictionary representing the Fn::Sub function. Must contain only one key and it should be
    `Fn::Sub`. Ex: {"Fn::Sub": ...}

:param parameters: Dictionary of parameter values for substitution
:return: Resolved