Class: Aws::DataSync::Types::CreateLocationFsxOntapRequest

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

Overview

Note:

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

{
  protocol: { # required
    nfs: {
      mount_options: {
        version: "AUTOMATIC", # accepts AUTOMATIC, NFS3, NFS4_0, NFS4_1
      },
    },
    smb: {
      domain: "SmbDomain",
      mount_options: {
        version: "AUTOMATIC", # accepts AUTOMATIC, SMB2, SMB3
      },
      password: "SmbPassword", # required
      user: "SmbUser", # required
    },
  },
  security_group_arns: ["Ec2SecurityGroupArn"], # required
  storage_virtual_machine_arn: "StorageVirtualMachineArn", # required
  subdirectory: "FsxOntapSubdirectory",
  tags: [
    {
      key: "TagKey", # required
      value: "TagValue",
    },
  ],
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#protocolTypes::FsxProtocol

Specifies the data transfer protocol that DataSync uses to access your Amazon FSx file system.

Returns:



423
424
425
426
427
428
429
430
431
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/types.rb', line 423

class CreateLocationFsxOntapRequest < Struct.new(
  :protocol,
  :security_group_arns,
  :storage_virtual_machine_arn,
  :subdirectory,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#security_group_arnsArray<String>

Specifies the Amazon EC2 security groups that provide access to your file system's preferred subnet.

The security groups must allow outbound traffic on the following ports (depending on the protocol you use):

  • Network File System (NFS): TCP ports 111, 635, and 2049

  • Server Message Block (SMB): TCP port 445

Your file system's security groups must also allow inbound traffic on the same ports.

Returns:

  • (Array<String>)


423
424
425
426
427
428
429
430
431
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/types.rb', line 423

class CreateLocationFsxOntapRequest < Struct.new(
  :protocol,
  :security_group_arns,
  :storage_virtual_machine_arn,
  :subdirectory,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#storage_virtual_machine_arnString

Specifies the ARN of the storage virtual machine (SVM) on your file system where you're copying data to or from.

Returns:

  • (String)


423
424
425
426
427
428
429
430
431
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/types.rb', line 423

class CreateLocationFsxOntapRequest < Struct.new(
  :protocol,
  :security_group_arns,
  :storage_virtual_machine_arn,
  :subdirectory,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#subdirectoryString

Specifies the junction path (also known as a mount point) in the SVM volume where you're copying data to or from (for example, /vol1).

Don't specify a junction path in the SVM's root volume. For more information, see Managing FSx for ONTAP storage virtual machines in the Amazon FSx for NetApp ONTAP User Guide.

Returns:

  • (String)


423
424
425
426
427
428
429
430
431
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/types.rb', line 423

class CreateLocationFsxOntapRequest < Struct.new(
  :protocol,
  :security_group_arns,
  :storage_virtual_machine_arn,
  :subdirectory,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#tagsArray<Types::TagListEntry>

Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources. We recommend creating at least a name tag for your location.

Returns:



423
424
425
426
427
428
429
430
431
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/types.rb', line 423

class CreateLocationFsxOntapRequest < Struct.new(
  :protocol,
  :security_group_arns,
  :storage_virtual_machine_arn,
  :subdirectory,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end