- class moto.efs.models.EFSBackend(region_name: str, account_id: str)
The backend manager of EFS resources.
This is the state-machine for each region, tracking the file systems, mount targets, and eventually access points that are deployed. Creating, updating, and destroying such resources should always go through this class.
@mock_efs def test_efs_behaviour: boto3.client("efs") ...
Implemented features for this service
[X] create_file_system Create a new EFS File System Volume.
[X] create_mount_target Create a new EFS Mount Target for a given File System to a given subnet.
Note that you can only create one mount target for each availability zone (which is implied by the subnet ID).
[ ] create_replication_configuration
[ ] create_tags
[X] delete_file_system Delete the file system specified by the given file_system_id.
Note that mount targets must be deleted first.
[ ] delete_file_system_policy
[X] delete_mount_target Delete a mount target specified by the given mount_target_id.
Note that this will also delete a network interface.
[ ] delete_replication_configuration
[ ] delete_tags
Pagination is not yet implemented
[ ] describe_account_preferences
[ ] describe_file_system_policy
[X] describe_file_systems Describe all the EFS File Systems, or specific File Systems.
[X] describe_mount_targets Describe the mount targets given an access point ID, mount target ID or a file system ID.
[ ] describe_replication_configurations
[ ] describe_tags
[ ] put_account_preferences
[ ] put_backup_policy
[ ] put_file_system_policy
[ ] update_file_system