aws efs delete-file-system
Deletes a file system, permanently severing access to its contents. AWS CLI reference
1 example 1 option Its page in the AWS CLI reference
Examples
To delete a file system
The following delete-file-system example deletes the specified file system.
aws efs delete-file-system --file-system-id fs-c7a0456eIdentify--file-system-idThe ID of the file system you want to delete.This command produces no output.
For more information, see Deleting an Amazon EFS file system in the Amazon Elastic File System User Guide.
Options
--file-system-idThe ID of the file system you want to delete.