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"],
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#file_system_idString

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

Returns:

  • (String)


581
582
583
584
585
586
587
588
# File 'gems/aws-sdk-efs/lib/aws-sdk-efs/types.rb', line 581

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

#ip_addressString

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

Returns:

  • (String)


581
582
583
584
585
586
587
588
# File 'gems/aws-sdk-efs/lib/aws-sdk-efs/types.rb', line 581

class CreateMountTargetRequest < Struct.new(
  :file_system_id,
  :subnet_id,
  :ip_address,
  :security_groups)
  SENSITIVE = []
  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>)


581
582
583
584
585
586
587
588
# File 'gems/aws-sdk-efs/lib/aws-sdk-efs/types.rb', line 581

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

#subnet_idString

The ID of the subnet to add the mount target in. For file systems that use One Zone storage classes, use the subnet that is associated with the file system's Availability Zone.

Returns:

  • (String)


581
582
583
584
585
586
587
588
# File 'gems/aws-sdk-efs/lib/aws-sdk-efs/types.rb', line 581

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