Skip to content

CreateMountTargetRequest

Source code in docs_src/capo_efs/types/create_mount_target_request.py
class CreateMountTargetRequest(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 target.</p>"""
    subnet_id: "capo_efs.types.subnet_id.SubnetId"
    """<p>The ID of the subnet to add the mount target in. For One Zone file systems, use the subnet that is associated with the file system's Availability Zone. The subnet type must be the same type as the <code>IpAddressType</code>.</p>"""
    ip_address: NotRequired["capo_efs.types.ip_address.IpAddress"]
    """<p>If the <code>IpAddressType</code> for the mount target is IPv4 ( <code>IPV4_ONLY</code> or <code>DUAL_STACK</code>), then specify the IPv4 address to use. If you do not specify an <code>IpAddress</code>, then Amazon EFS selects an unused IP address from the subnet specified for <code>SubnetId</code>.</p>"""
    ipv6_address: NotRequired["capo_efs.types.ipv6_address.Ipv6Address"]
    """<p>If the <code>IPAddressType</code> for the mount target is IPv6 (<code>IPV6_ONLY</code> or <code>DUAL_STACK</code>), then specify the IPv6 address to use. If you do not specify an <code>Ipv6Address</code>, then Amazon EFS selects an unused IP address from the subnet specified for <code>SubnetId</code>.</p>"""
    ip_address_type: NotRequired["capo_efs.types.ip_address_type.IpAddressType"]
    """<p>The IP address type for the mount target. The possible values are <code>IPV4_ONLY</code> (only IPv4 addresses), <code>IPV6_ONLY</code> (only IPv6 addresses), and <code>DUAL_STACK</code> (dual-stack, both IPv4 and IPv6 addresses). If you don’t specify an <code>IpAddressType</code>, then <code>IPV4_ONLY</code> is used.</p> <note> <p>The <code>IPAddressType</code> must match the IP type of the subnet. Additionally, the <code>IPAddressType</code> parameter overrides the value set as the default IP address for the subnet in the VPC. For example, if the <code>IPAddressType</code> is <code>IPV4_ONLY</code> and <code>AssignIpv6AddressOnCreation</code> is <code>true</code>, then IPv4 is used for the mount target. For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/subnet-public-ip.html">Modify the IP addressing attributes of your subnet</a>.</p> </note>"""
    security_groups: NotRequired["capo_efs.types.security_groups.SecurityGroups"]
    """<p>VPC security group IDs, of the form <code>sg-xxxxxxxx</code>. These must be for the same VPC as the subnet specified. The maximum number of security groups depends on account quota. For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/amazon-vpc-limits.html">Amazon VPC Quotas</a> in the <i>Amazon VPC User Guide</i> (see the <b>Security Groups</b> table). If you don't specify a security group, then Amazon EFS uses the default security group for the subnet's VPC.</p>"""

file_system_id instance-attribute

file_system_id: FileSystemId

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

ip_address instance-attribute

ip_address: NotRequired[IpAddress]

If the IpAddressType for the mount target is IPv4 ( IPV4_ONLY or DUAL_STACK), then specify the IPv4 address to use. If you do not specify an IpAddress, then Amazon EFS selects an unused IP address from the subnet specified for SubnetId.

ip_address_type instance-attribute

ip_address_type: NotRequired[IpAddressType]

The IP address type for the mount target. The possible values are IPV4_ONLY (only IPv4 addresses), IPV6_ONLY (only IPv6 addresses), and DUAL_STACK (dual-stack, both IPv4 and IPv6 addresses). If you don’t specify an IpAddressType, then IPV4_ONLY is used.

The IPAddressType must match the IP type of the subnet. Additionally, the IPAddressType parameter overrides the value set as the default IP address for the subnet in the VPC. For example, if the IPAddressType is IPV4_ONLY and AssignIpv6AddressOnCreation is true, then IPv4 is used for the mount target. For more information, see Modify the IP addressing attributes of your subnet.

ipv6_address instance-attribute

ipv6_address: NotRequired[Ipv6Address]

If the IPAddressType for the mount target is IPv6 (IPV6_ONLY or DUAL_STACK), then specify the IPv6 address to use. If you do not specify an Ipv6Address, then Amazon EFS selects an unused IP address from the subnet specified for SubnetId.

security_groups instance-attribute

security_groups: NotRequired[SecurityGroups]

VPC security group IDs, of the form sg-xxxxxxxx. These must be for the same VPC as the subnet specified. The maximum number of security groups depends on account quota. For more information, see Amazon VPC Quotas in the Amazon VPC User Guide (see the Security Groups table). If you don't specify a security group, then Amazon EFS uses the default security group for the subnet's VPC.

subnet_id instance-attribute

subnet_id: SubnetId

The ID of the subnet to add the mount target in. For One Zone file systems, use the subnet that is associated with the file system's Availability Zone. The subnet type must be the same type as the IpAddressType.