def export(name: str, value: Any):
    """
    Exports a named stack output.

    :param str name: The name to assign to this output.
    :param Any value: The value of this output.
    """
    stack = get_root_resource()
    if stack is not None:
        stack.output(name, value)
Exports a named stack output.

    :param str name: The name to assign to this output.
    :param Any value: The value of this output.