Viewing docs for StandardLibrary v2.3.2
published on Tuesday, Feb 10, 2026 by Pulumi
published on Tuesday, Feb 10, 2026 by Pulumi
Viewing docs for StandardLibrary v2.3.2
published on Tuesday, Feb 10, 2026 by Pulumi
published on Tuesday, Feb 10, 2026 by Pulumi
Determines whether a file exists at a given path.
Using fileexists
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function fileexists(args: FileexistsArgs, opts?: InvokeOptions): Promise<FileexistsResult>
function fileexistsOutput(args: FileexistsOutputArgs, opts?: InvokeOptions): Output<FileexistsResult>def fileexists(input: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> FileexistsResult
def fileexists_output(input: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[FileexistsResult]func Fileexists(ctx *Context, args *FileexistsArgs, opts ...InvokeOption) (*FileexistsResult, error)
func FileexistsOutput(ctx *Context, args *FileexistsOutputArgs, opts ...InvokeOption) FileexistsResultOutput> Note: This function is named Fileexists in the Go SDK.
public static class Fileexists
{
public static Task<FileexistsResult> InvokeAsync(FileexistsArgs args, InvokeOptions? opts = null)
public static Output<FileexistsResult> Invoke(FileexistsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<FileexistsResult> fileexists(FileexistsArgs args, InvokeOptions options)
public static Output<FileexistsResult> fileexists(FileexistsArgs args, InvokeOptions options)
fn::invoke:
function: std:fileexists
arguments:
# arguments dictionaryThe following arguments are supported:
- Input string
- Input string
- input String
- input string
- input str
- input String
fileexists Result
The following output properties are available:
- Result bool
- Result bool
- result Boolean
- result boolean
- result bool
- result Boolean
Package Details
- Repository
- std pulumi/pulumi-std
- License
Viewing docs for StandardLibrary v2.3.2
published on Tuesday, Feb 10, 2026 by Pulumi
published on Tuesday, Feb 10, 2026 by Pulumi
