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.</p>"""
    ip_address: NotRequired["capo_efs.types.ip_address.IpAddress"]
    """<p>If the IP address type for the mount target is IPv4, then specify the IPv4 address within the address range of the specified subnet.</p>"""
    ipv6_address: NotRequired["capo_efs.types.ipv6_address.Ipv6Address"]
    """<p>If the IP address type for the mount target is IPv6, then specify the IPv6 address within the address range of the specified subnet.</p>"""
    ip_address_type: NotRequired["capo_efs.types.ip_address_type.IpAddressType"]
    """<p>Specify the type of IP address of the mount target you are creating. Options are IPv4, dual stack, or IPv6. If you don’t specify an IpAddressType, then IPv4 is used.</p> <ul> <li> <p>IPV4_ONLY – Create mount target with IPv4 only subnet or dual-stack subnet.</p> </li> <li> <p>DUAL_STACK – Create mount target with dual-stack subnet.</p> </li> <li> <p>IPV6_ONLY – Create mount target with IPv6 only subnet.</p> </li> </ul> <note> <p>Creating IPv6 mount target only ENI in dual-stack subnet is not supported.</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). </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 IP address type for the mount target is IPv4, then specify the IPv4 address within the address range of the specified subnet.

ip_address_type instance-attribute

ip_address_type: NotRequired[IpAddressType]

Specify the type of IP address of the mount target you are creating. Options are IPv4, dual stack, or IPv6. If you don’t specify an IpAddressType, then IPv4 is used.

  • IPV4_ONLY – Create mount target with IPv4 only subnet or dual-stack subnet.

  • DUAL_STACK – Create mount target with dual-stack subnet.

  • IPV6_ONLY – Create mount target with IPv6 only subnet.

Creating IPv6 mount target only ENI in dual-stack subnet is not supported.

ipv6_address instance-attribute

ipv6_address: NotRequired[Ipv6Address]

If the IP address type for the mount target is IPv6, then specify the IPv6 address within the address range of the specified subnet.

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).

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.