You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

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

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

Overview

Note:

When making an API call, you may pass CreateMountTargetRequest data as a hash:

{
  file_system_id: "FileSystemId", # required
  subnet_id: "SubnetId", # required
  ip_address: "IpAddress",
  security_groups: ["SecurityGroup"],
}

Instance Attribute Summary collapse

Instance Attribute Details

#file_system_idString

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

Returns:

  • (String)


107
108
109
110
111
112
113
# File 'gems/aws-sdk-efs/lib/aws-sdk-efs/types.rb', line 107

class CreateMountTargetRequest < Struct.new(
  :file_system_id,
  :subnet_id,
  :ip_address,
  :security_groups)
  include Aws::Structure
end

#ip_addressString

Valid IPv4 address within the address range of the specified subnet.

Returns:

  • (String)


107
108
109
110
111
112
113
# File 'gems/aws-sdk-efs/lib/aws-sdk-efs/types.rb', line 107

class CreateMountTargetRequest < Struct.new(
  :file_system_id,
  :subnet_id,
  :ip_address,
  :security_groups)
  include Aws::Structure
end

#security_groupsArray<String>

Up to five VPC security group IDs, of the form sg-xxxxxxxx. These must be for the same VPC as subnet specified.

Returns:

  • (Array<String>)


107
108
109
110
111
112
113
# File 'gems/aws-sdk-efs/lib/aws-sdk-efs/types.rb', line 107

class CreateMountTargetRequest < Struct.new(
  :file_system_id,
  :subnet_id,
  :ip_address,
  :security_groups)
  include Aws::Structure
end

#subnet_idString

ID of the subnet to add the mount target in.

Returns:

  • (String)


107
108
109
110
111
112
113
# File 'gems/aws-sdk-efs/lib/aws-sdk-efs/types.rb', line 107

class CreateMountTargetRequest < Struct.new(
  :file_system_id,
  :subnet_id,
  :ip_address,
  :security_groups)
  include Aws::Structure
end