Function listResourceOutputs

  • Returns the resource outputs (if any) for a stack, or an error if the stack cannot be found. Resources are retrieved from the latest stack snapshot, which may include ongoing updates. For example:

    const buckets = pulumi.runtime.listResourceOutput(aws.s3.Bucket.isInstance);
    

    Type Parameters

    Parameters

    • Optional typeFilter: ((o) => o is U)

      A type guard that specifies which resource types to list outputs of.

        • (o): o is U
        • Parameters

          • o: any

          Returns o is U

    • Optional stackName: string

      Name of stack to retrieve resource outputs for. Defaults to the current stack.

    Returns query.AsyncQueryable<ResolvedResource<U>>

Generated using TypeDoc