LocationFsxOntapFileSystemArgs

data class LocationFsxOntapFileSystemArgs(val protocol: Output<LocationFsxOntapFileSystemProtocolArgs>? = null, val securityGroupArns: Output<List<String>>? = null, val storageVirtualMachineArn: Output<String>? = null, val subdirectory: Output<String>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<LocationFsxOntapFileSystemArgs>

Resource for managing an AWS DataSync Location FSx Ontap File System.

Example Usage

Basic Usage

resources:
test:
type: aws:datasync:LocationFsxOntapFileSystem
properties:
fsxFilesystemArn: ${testAwsFsxOntapFileSystem.arn}
securityGroupArns:
- ${testAwsSecurityGroup.arn}
storageVirtualMachineArn: ${testAwsFsxOntapStorageVirtualMachine.arn}
protocol:
nfs:
mountOptions:
version: NFS3

Import

Using pulumi import, import aws_datasync_location_fsx_ontap_file_system using the DataSync-ARN#FSx-ontap-svm-ARN. For example:

$ pulumi import aws:datasync/locationFsxOntapFileSystem:LocationFsxOntapFileSystem example arn:aws:datasync:us-west-2:123456789012:location/loc-12345678901234567#arn:aws:fsx:us-west-2:123456789012:storage-virtual-machine/svm-12345678abcdef123

Constructors

Link copied to clipboard
constructor(protocol: Output<LocationFsxOntapFileSystemProtocolArgs>? = null, securityGroupArns: Output<List<String>>? = null, storageVirtualMachineArn: Output<String>? = null, subdirectory: Output<String>? = null, tags: Output<Map<String, String>>? = null)

Properties

Link copied to clipboard

The data transfer protocol that DataSync uses to access your Amazon FSx file system. See Protocol below.

Link copied to clipboard
val securityGroupArns: Output<List<String>>? = null

The security groups that provide access to your file system's preferred subnet. The security groups must allow outbbound traffic on the following ports (depending on the protocol you use):

Link copied to clipboard
val storageVirtualMachineArn: Output<String>? = null

The ARN of the SVM in your file system where you want to copy data to of from. The following arguments are optional:

Link copied to clipboard
val subdirectory: Output<String>? = null

Path to the file share in the SVM where you'll copy your data. You can specify a junction path (also known as a mount point), qtree path (for NFS file shares), or share name (for SMB file shares) (e.g. /vol1, /vol1/tree1, share1).

Link copied to clipboard
val tags: Output<Map<String, String>>? = null

Key-value pairs of resource tags to assign to the DataSync Location. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

Functions

Link copied to clipboard
open override fun toJava(): LocationFsxOntapFileSystemArgs