DescribeMountTargets
Source:
src/AWS/EFS/DescribeMountTargets.ts
Runtime binding for the DescribeMountTargets operation (IAM action
elasticfilesystem:DescribeMountTargets on the file system ARN).
Lists the bound FileSystem’s mount targets — the per-AZ NFS
endpoints with their IP addresses and lifecycle states. Useful for health
checks and for compute that needs to discover a mount target’s IP at
runtime. Provide the implementation with
Effect.provide(AWS.EFS.DescribeMountTargetsHttp).
Inspecting File Systems
Section titled “Inspecting File Systems”const describeMountTargets = yield* AWS.EFS.DescribeMountTargets(files);
const { MountTargets } = yield* describeMountTargets();for (const target of MountTargets ?? []) { yield* Effect.log(`${target.AvailabilityZoneName}: ${target.IpAddress}`);}