Class GetMountTarget
Inheritance
System.Object
GetMountTarget
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Aws.Efs
Assembly: Pulumi.Aws.dll
Syntax
public static class GetMountTarget
Methods
View SourceInvokeAsync(GetMountTargetArgs, InvokeOptions)
Provides information about an Elastic File System Mount Target (EFS).
{{% examples %}}
Example Usage
{{% example %}}
using Pulumi;
using Aws = Pulumi.Aws;
class MyStack : Stack
{
public MyStack()
{
var config = new Config();
var mountTargetId = config.Get("mountTargetId") ?? "";
var byId = Output.Create(Aws.Efs.GetMountTarget.InvokeAsync(new Aws.Efs.GetMountTargetArgs
{
MountTargetId = mountTargetId,
}));
}
}
{{% /example %}} {{% /examples %}}
Declaration
public static Task<GetMountTargetResult> InvokeAsync(GetMountTargetArgs args, InvokeOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetMountTargetArgs | args | |
| InvokeOptions | options |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<GetMountTargetResult> |