get Mount Target
Provides information about an Elastic File System Mount Target (EFS).
Example Usage
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.efs.EfsFunctions;
import com.pulumi.aws.efs.inputs.GetMountTargetArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var config = ctx.config();
final var mountTargetId = config.get("mountTargetId").orElse("");
final var byId = EfsFunctions.getMountTarget(GetMountTargetArgs.builder()
.mountTargetId(mountTargetId)
.build());
}
}
Return
A collection of values returned by getMountTarget.
Parameters
A collection of arguments for invoking getMountTarget.
Return
A collection of values returned by getMountTarget.
Parameters
ID or ARN of the access point whose mount target that you want to find. It must be included if a file_system_id
and mount_target_id
are not included.
ID or ARN of the file system whose mount target that you want to find. It must be included if an access_point_id
and mount_target_id
are not included.
ID or ARN of the mount target that you want to find. It must be included in your request if an access_point_id
and file_system_id
are not included.
See also
Return
A collection of values returned by getMountTarget.
Parameters
Builder for com.pulumi.aws.efs.kotlin.inputs.GetMountTargetPlainArgs.