- class moto.efs.models.EFSBackend(region_name=None)
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
[ ] create_access_point
[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_tags
[ ] delete_access_point
[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_tags
[ ] describe_access_points
[ ] describe_account_preferences
[ ] describe_file_system_policy
[X] describe_file_systems Describe all the EFS File Systems, or specific File Systems.
[ ] describe_lifecycle_configuration
[ ] describe_mount_target_security_groups
[X] describe_mount_targets Describe the mount targets given a mount target ID or a file system ID.
Note that as of this writing access points, and thus access point IDs are not supported.
[ ] describe_tags
[ ] list_tags_for_resource
[ ] modify_mount_target_security_groups
[ ] put_account_preferences
[ ] put_backup_policy
[ ] put_file_system_policy
[ ] put_lifecycle_configuration
[ ] tag_resource
[ ] untag_resource
[ ] update_file_system