def _construct_target(self, function):
target = {<EOL>'<STR_LIT>': function.get_runtime_attr("<STR_LIT>"),<EOL>'<STR_LIT>': self.logical_id + '<STR_LIT>'<EOL>}<EOL>if self.Input is not None:<EOL><INDENT>target['<STR_LIT>'] = self.Input<EOL><DEDENT>return target<EOL>
Constructs the Target property for the CloudWatch Events Rule.

        :returns: the Target property
        :rtype: dict