
走るとき
aws efs describe-access-points --query 'AccessPoints[*].[AccessPointId]' --output table
5つの異なるIDが返されます。
他のリソースにあるようなフィルター オプションはないようです。
aws efs describe-access-points --filters "Name=AccessPoints.Name,Values=media" --query 'AccessPoints[*].[AccessPointId]' --output table
usage: aws [options] <command> <subcommand> [<subcommand> ...] [parameters]
To see help text, you can run:
aws help
aws <command> help
aws <command> <subcommand> help
Unknown options: --filters, Name=AccessPoints.Name,Values=media
メディア アクセス ポイントの ID だけを返すにはどうすればよいですか?
答え1
特定のファイルシステムのアクセスポイントを取得するには、これを試してください。
aws efs describe-access-points —-file-system-id —-query “AccessPoints[].{AccessPointId:AccessPointId}” —-region=“”