Skip to content

CreateMountSessionRequest

Source code in docs_src/capo_efs/types/create_mount_session_request.py
class CreateMountSessionRequest(TypedDict, closed=True):
    file_system_id: "capo_efs.types.file_system_id.FileSystemId"
    """<p>The ID of the file system for which to create the mount session.</p>"""
    preferred_availability_zone_id: NotRequired[
        "capo_efs.types.availability_zone_id.AvailabilityZoneId"
    ]
    """<p>The ID of the Availability Zone (for example, <code>use1-az1</code>) in which you prefer the returned endpoints to be located. The Availability Zone must be in the same Amazon Web Services Region as the file system. This preference is best effort: if Amazon EFS can't provide an endpoint in the preferred Availability Zone, it returns endpoints in another Availability Zone instead of failing the request. If you don't specify a value, Amazon EFS returns endpoints without an Availability Zone preference.</p>"""
    network_origin: NotRequired["capo_efs.types.network_origin.NetworkOrigin"]
    """<p>Indicates whether the client connects to the file system from within the Amazon Web Services Cloud (<code>AWS_NETWORK</code>). External network (<code>EXTERNAL_NETWORK</code>) connections are not supported.</p>"""

file_system_id instance-attribute

file_system_id: FileSystemId

The ID of the file system for which to create the mount session.

network_origin instance-attribute

network_origin: NotRequired[NetworkOrigin]

Indicates whether the client connects to the file system from within the Amazon Web Services Cloud (AWS_NETWORK). External network (EXTERNAL_NETWORK) connections are not supported.

preferred_availability_zone_id instance-attribute

preferred_availability_zone_id: NotRequired[AvailabilityZoneId]

The ID of the Availability Zone (for example, use1-az1) in which you prefer the returned endpoints to be located. The Availability Zone must be in the same Amazon Web Services Region as the file system. This preference is best effort: if Amazon EFS can't provide an endpoint in the preferred Availability Zone, it returns endpoints in another Availability Zone instead of failing the request. If you don't specify a value, Amazon EFS returns endpoints without an Availability Zone preference.