Class: Aws::EFS::Types::CreateMountTargetRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-efs/lib/aws-sdk-efs/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#file_system_id ⇒ String

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

Returns:

  • (String)


642
643
644
645
646
647
648
649
650
651
# File 'gems/aws-sdk-efs/lib/aws-sdk-efs/types.rb', line 642

class CreateMountTargetRequest < Struct.new(
  :file_system_id,
  :subnet_id,
  :ip_address,
  :ipv_6_address,
  :ip_address_type,
  :security_groups)
  SENSITIVE = []
  include Aws::Structure
end

#ip_address ⇒ String

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.

Returns:

  • (String)


642
643
644
645
646
647
648
649
650
651
# File 'gems/aws-sdk-efs/lib/aws-sdk-efs/types.rb', line 642

class CreateMountTargetRequest < Struct.new(
  :file_system_id,
  :subnet_id,
  :ip_address,
  :ipv_6_address,
  :ip_address_type,
  :security_groups)
  SENSITIVE = []
  include Aws::Structure
end

#ip_address_type ⇒ String

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.

Returns:

  • (String)


642
643
644
645
646
647
648
649
650
651
# File 'gems/aws-sdk-efs/lib/aws-sdk-efs/types.rb', line 642

class CreateMountTargetRequest < Struct.new(
  :file_system_id,
  :subnet_id,
  :ip_address,
  :ipv_6_address,
  :ip_address_type,
  :security_groups)
  SENSITIVE = []
  include Aws::Structure
end

#ipv_6_address ⇒ String

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.

Returns:

  • (String)


642
643
644
645
646
647
648
649
650
651
# File 'gems/aws-sdk-efs/lib/aws-sdk-efs/types.rb', line 642

class CreateMountTargetRequest < Struct.new(
  :file_system_id,
  :subnet_id,
  :ip_address,
  :ipv_6_address,
  :ip_address_type,
  :security_groups)
  SENSITIVE = []
  include Aws::Structure
end

#security_groups ⇒ Array<String>

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.

Returns:

  • (Array<String>)


642
643
644
645
646
647
648
649
650
651
# File 'gems/aws-sdk-efs/lib/aws-sdk-efs/types.rb', line 642

class CreateMountTargetRequest < Struct.new(
  :file_system_id,
  :subnet_id,
  :ip_address,
  :ipv_6_address,
  :ip_address_type,
  :security_groups)
  SENSITIVE = []
  include Aws::Structure
end

#subnet_id ⇒ String

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.

Returns:

  • (String)


642
643
644
645
646
647
648
649
650
651
# File 'gems/aws-sdk-efs/lib/aws-sdk-efs/types.rb', line 642

class CreateMountTargetRequest < Struct.new(
  :file_system_id,
  :subnet_id,
  :ip_address,
  :ipv_6_address,
  :ip_address_type,
  :security_groups)
  SENSITIVE = []
  include Aws::Structure
end