Function listResourceOutputs

  • 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.

    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>>

    Example

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

Generated using TypeDoc