1. Packages
  2. AWS Classic
  3. API Docs
  4. datasync
  5. LocationFsxOntapFileSystem

Try AWS Native preview for resources not in the classic version.

AWS Classic v6.32.0 published on Friday, Apr 19, 2024 by Pulumi

aws.datasync.LocationFsxOntapFileSystem

Explore with Pulumi AI

aws logo

Try AWS Native preview for resources not in the classic version.

AWS Classic v6.32.0 published on Friday, Apr 19, 2024 by Pulumi

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

    Example Usage

    Basic Usage

    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.datasync.LocationFsxOntapFileSystem;
    import com.pulumi.aws.datasync.LocationFsxOntapFileSystemArgs;
    import com.pulumi.aws.datasync.inputs.LocationFsxOntapFileSystemProtocolArgs;
    import com.pulumi.aws.datasync.inputs.LocationFsxOntapFileSystemProtocolNfsArgs;
    import com.pulumi.aws.datasync.inputs.LocationFsxOntapFileSystemProtocolNfsMountOptionsArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var test = new LocationFsxOntapFileSystem("test", LocationFsxOntapFileSystemArgs.builder()        
                .fsxFilesystemArn(testAwsFsxOntapFileSystem.arn())
                .securityGroupArns(testAwsSecurityGroup.arn())
                .storageVirtualMachineArn(testAwsFsxOntapStorageVirtualMachine.arn())
                .protocol(LocationFsxOntapFileSystemProtocolArgs.builder()
                    .nfs(LocationFsxOntapFileSystemProtocolNfsArgs.builder()
                        .mountOptions(LocationFsxOntapFileSystemProtocolNfsMountOptionsArgs.builder()
                            .version("NFS3")
                            .build())
                        .build())
                    .build())
                .build());
    
        }
    }
    
    resources:
      test:
        type: aws:datasync:LocationFsxOntapFileSystem
        properties:
          fsxFilesystemArn: ${testAwsFsxOntapFileSystem.arn}
          securityGroupArns:
            - ${testAwsSecurityGroup.arn}
          storageVirtualMachineArn: ${testAwsFsxOntapStorageVirtualMachine.arn}
          protocol:
            nfs:
              mountOptions:
                version: NFS3
    

    Create LocationFsxOntapFileSystem Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new LocationFsxOntapFileSystem(name: string, args: LocationFsxOntapFileSystemArgs, opts?: CustomResourceOptions);
    @overload
    def LocationFsxOntapFileSystem(resource_name: str,
                                   args: LocationFsxOntapFileSystemArgs,
                                   opts: Optional[ResourceOptions] = None)
    
    @overload
    def LocationFsxOntapFileSystem(resource_name: str,
                                   opts: Optional[ResourceOptions] = None,
                                   protocol: Optional[LocationFsxOntapFileSystemProtocolArgs] = None,
                                   security_group_arns: Optional[Sequence[str]] = None,
                                   storage_virtual_machine_arn: Optional[str] = None,
                                   subdirectory: Optional[str] = None,
                                   tags: Optional[Mapping[str, str]] = None)
    func NewLocationFsxOntapFileSystem(ctx *Context, name string, args LocationFsxOntapFileSystemArgs, opts ...ResourceOption) (*LocationFsxOntapFileSystem, error)
    public LocationFsxOntapFileSystem(string name, LocationFsxOntapFileSystemArgs args, CustomResourceOptions? opts = null)
    public LocationFsxOntapFileSystem(String name, LocationFsxOntapFileSystemArgs args)
    public LocationFsxOntapFileSystem(String name, LocationFsxOntapFileSystemArgs args, CustomResourceOptions options)
    
    type: aws:datasync:LocationFsxOntapFileSystem
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args LocationFsxOntapFileSystemArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args LocationFsxOntapFileSystemArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args LocationFsxOntapFileSystemArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args LocationFsxOntapFileSystemArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args LocationFsxOntapFileSystemArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

    The following reference example uses placeholder values for all input properties.

    var locationFsxOntapFileSystemResource = new Aws.DataSync.LocationFsxOntapFileSystem("locationFsxOntapFileSystemResource", new()
    {
        Protocol = new Aws.DataSync.Inputs.LocationFsxOntapFileSystemProtocolArgs
        {
            Nfs = new Aws.DataSync.Inputs.LocationFsxOntapFileSystemProtocolNfsArgs
            {
                MountOptions = new Aws.DataSync.Inputs.LocationFsxOntapFileSystemProtocolNfsMountOptionsArgs
                {
                    Version = "string",
                },
            },
            Smb = new Aws.DataSync.Inputs.LocationFsxOntapFileSystemProtocolSmbArgs
            {
                MountOptions = new Aws.DataSync.Inputs.LocationFsxOntapFileSystemProtocolSmbMountOptionsArgs
                {
                    Version = "string",
                },
                Password = "string",
                User = "string",
                Domain = "string",
            },
        },
        SecurityGroupArns = new[]
        {
            "string",
        },
        StorageVirtualMachineArn = "string",
        Subdirectory = "string",
        Tags = 
        {
            { "string", "string" },
        },
    });
    
    example, err := datasync.NewLocationFsxOntapFileSystem(ctx, "locationFsxOntapFileSystemResource", &datasync.LocationFsxOntapFileSystemArgs{
    	Protocol: &datasync.LocationFsxOntapFileSystemProtocolArgs{
    		Nfs: &datasync.LocationFsxOntapFileSystemProtocolNfsArgs{
    			MountOptions: &datasync.LocationFsxOntapFileSystemProtocolNfsMountOptionsArgs{
    				Version: pulumi.String("string"),
    			},
    		},
    		Smb: &datasync.LocationFsxOntapFileSystemProtocolSmbArgs{
    			MountOptions: &datasync.LocationFsxOntapFileSystemProtocolSmbMountOptionsArgs{
    				Version: pulumi.String("string"),
    			},
    			Password: pulumi.String("string"),
    			User:     pulumi.String("string"),
    			Domain:   pulumi.String("string"),
    		},
    	},
    	SecurityGroupArns: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	StorageVirtualMachineArn: pulumi.String("string"),
    	Subdirectory:             pulumi.String("string"),
    	Tags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    })
    
    var locationFsxOntapFileSystemResource = new LocationFsxOntapFileSystem("locationFsxOntapFileSystemResource", LocationFsxOntapFileSystemArgs.builder()        
        .protocol(LocationFsxOntapFileSystemProtocolArgs.builder()
            .nfs(LocationFsxOntapFileSystemProtocolNfsArgs.builder()
                .mountOptions(LocationFsxOntapFileSystemProtocolNfsMountOptionsArgs.builder()
                    .version("string")
                    .build())
                .build())
            .smb(LocationFsxOntapFileSystemProtocolSmbArgs.builder()
                .mountOptions(LocationFsxOntapFileSystemProtocolSmbMountOptionsArgs.builder()
                    .version("string")
                    .build())
                .password("string")
                .user("string")
                .domain("string")
                .build())
            .build())
        .securityGroupArns("string")
        .storageVirtualMachineArn("string")
        .subdirectory("string")
        .tags(Map.of("string", "string"))
        .build());
    
    location_fsx_ontap_file_system_resource = aws.datasync.LocationFsxOntapFileSystem("locationFsxOntapFileSystemResource",
        protocol=aws.datasync.LocationFsxOntapFileSystemProtocolArgs(
            nfs=aws.datasync.LocationFsxOntapFileSystemProtocolNfsArgs(
                mount_options=aws.datasync.LocationFsxOntapFileSystemProtocolNfsMountOptionsArgs(
                    version="string",
                ),
            ),
            smb=aws.datasync.LocationFsxOntapFileSystemProtocolSmbArgs(
                mount_options=aws.datasync.LocationFsxOntapFileSystemProtocolSmbMountOptionsArgs(
                    version="string",
                ),
                password="string",
                user="string",
                domain="string",
            ),
        ),
        security_group_arns=["string"],
        storage_virtual_machine_arn="string",
        subdirectory="string",
        tags={
            "string": "string",
        })
    
    const locationFsxOntapFileSystemResource = new aws.datasync.LocationFsxOntapFileSystem("locationFsxOntapFileSystemResource", {
        protocol: {
            nfs: {
                mountOptions: {
                    version: "string",
                },
            },
            smb: {
                mountOptions: {
                    version: "string",
                },
                password: "string",
                user: "string",
                domain: "string",
            },
        },
        securityGroupArns: ["string"],
        storageVirtualMachineArn: "string",
        subdirectory: "string",
        tags: {
            string: "string",
        },
    });
    
    type: aws:datasync:LocationFsxOntapFileSystem
    properties:
        protocol:
            nfs:
                mountOptions:
                    version: string
            smb:
                domain: string
                mountOptions:
                    version: string
                password: string
                user: string
        securityGroupArns:
            - string
        storageVirtualMachineArn: string
        subdirectory: string
        tags:
            string: string
    

    LocationFsxOntapFileSystem Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The LocationFsxOntapFileSystem resource accepts the following input properties:

    Protocol LocationFsxOntapFileSystemProtocol
    The data transfer protocol that DataSync uses to access your Amazon FSx file system. See Protocol below.
    SecurityGroupArns List<string>
    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):

    • Network File System (NFS): TCP ports 111, 635, and 2049
    • Server Message Block (SMB): TCP port 445
    StorageVirtualMachineArn string

    The ARN of the SVM in your file system where you want to copy data to of from.

    The following arguments are optional:

    Subdirectory string
    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).
    Tags Dictionary<string, string>
    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.
    Protocol LocationFsxOntapFileSystemProtocolArgs
    The data transfer protocol that DataSync uses to access your Amazon FSx file system. See Protocol below.
    SecurityGroupArns []string
    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):

    • Network File System (NFS): TCP ports 111, 635, and 2049
    • Server Message Block (SMB): TCP port 445
    StorageVirtualMachineArn string

    The ARN of the SVM in your file system where you want to copy data to of from.

    The following arguments are optional:

    Subdirectory string
    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).
    Tags map[string]string
    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.
    protocol LocationFsxOntapFileSystemProtocol
    The data transfer protocol that DataSync uses to access your Amazon FSx file system. See Protocol below.
    securityGroupArns List<String>
    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):

    • Network File System (NFS): TCP ports 111, 635, and 2049
    • Server Message Block (SMB): TCP port 445
    storageVirtualMachineArn String

    The ARN of the SVM in your file system where you want to copy data to of from.

    The following arguments are optional:

    subdirectory String
    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).
    tags Map<String,String>
    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.
    protocol LocationFsxOntapFileSystemProtocol
    The data transfer protocol that DataSync uses to access your Amazon FSx file system. See Protocol below.
    securityGroupArns string[]
    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):

    • Network File System (NFS): TCP ports 111, 635, and 2049
    • Server Message Block (SMB): TCP port 445
    storageVirtualMachineArn string

    The ARN of the SVM in your file system where you want to copy data to of from.

    The following arguments are optional:

    subdirectory string
    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).
    tags {[key: string]: string}
    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.
    protocol LocationFsxOntapFileSystemProtocolArgs
    The data transfer protocol that DataSync uses to access your Amazon FSx file system. See Protocol below.
    security_group_arns Sequence[str]
    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):

    • Network File System (NFS): TCP ports 111, 635, and 2049
    • Server Message Block (SMB): TCP port 445
    storage_virtual_machine_arn str

    The ARN of the SVM in your file system where you want to copy data to of from.

    The following arguments are optional:

    subdirectory str
    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).
    tags Mapping[str, str]
    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.
    protocol Property Map
    The data transfer protocol that DataSync uses to access your Amazon FSx file system. See Protocol below.
    securityGroupArns List<String>
    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):

    • Network File System (NFS): TCP ports 111, 635, and 2049
    • Server Message Block (SMB): TCP port 445
    storageVirtualMachineArn String

    The ARN of the SVM in your file system where you want to copy data to of from.

    The following arguments are optional:

    subdirectory String
    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).
    tags Map<String>
    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.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the LocationFsxOntapFileSystem resource produces the following output properties:

    Arn string
    ARN of the DataSync Location for the FSx Ontap File System.
    CreationTime string
    FsxFilesystemArn string
    ARN of the FSx Ontap File System.
    Id string
    The provider-assigned unique ID for this managed resource.
    TagsAll Dictionary<string, string>

    Deprecated: Please use tags instead.

    Uri string
    URI of the FSx ONTAP file system location
    Arn string
    ARN of the DataSync Location for the FSx Ontap File System.
    CreationTime string
    FsxFilesystemArn string
    ARN of the FSx Ontap File System.
    Id string
    The provider-assigned unique ID for this managed resource.
    TagsAll map[string]string

    Deprecated: Please use tags instead.

    Uri string
    URI of the FSx ONTAP file system location
    arn String
    ARN of the DataSync Location for the FSx Ontap File System.
    creationTime String
    fsxFilesystemArn String
    ARN of the FSx Ontap File System.
    id String
    The provider-assigned unique ID for this managed resource.
    tagsAll Map<String,String>

    Deprecated: Please use tags instead.

    uri String
    URI of the FSx ONTAP file system location
    arn string
    ARN of the DataSync Location for the FSx Ontap File System.
    creationTime string
    fsxFilesystemArn string
    ARN of the FSx Ontap File System.
    id string
    The provider-assigned unique ID for this managed resource.
    tagsAll {[key: string]: string}

    Deprecated: Please use tags instead.

    uri string
    URI of the FSx ONTAP file system location
    arn str
    ARN of the DataSync Location for the FSx Ontap File System.
    creation_time str
    fsx_filesystem_arn str
    ARN of the FSx Ontap File System.
    id str
    The provider-assigned unique ID for this managed resource.
    tags_all Mapping[str, str]

    Deprecated: Please use tags instead.

    uri str
    URI of the FSx ONTAP file system location
    arn String
    ARN of the DataSync Location for the FSx Ontap File System.
    creationTime String
    fsxFilesystemArn String
    ARN of the FSx Ontap File System.
    id String
    The provider-assigned unique ID for this managed resource.
    tagsAll Map<String>

    Deprecated: Please use tags instead.

    uri String
    URI of the FSx ONTAP file system location

    Look up Existing LocationFsxOntapFileSystem Resource

    Get an existing LocationFsxOntapFileSystem resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: LocationFsxOntapFileSystemState, opts?: CustomResourceOptions): LocationFsxOntapFileSystem
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            arn: Optional[str] = None,
            creation_time: Optional[str] = None,
            fsx_filesystem_arn: Optional[str] = None,
            protocol: Optional[LocationFsxOntapFileSystemProtocolArgs] = None,
            security_group_arns: Optional[Sequence[str]] = None,
            storage_virtual_machine_arn: Optional[str] = None,
            subdirectory: Optional[str] = None,
            tags: Optional[Mapping[str, str]] = None,
            tags_all: Optional[Mapping[str, str]] = None,
            uri: Optional[str] = None) -> LocationFsxOntapFileSystem
    func GetLocationFsxOntapFileSystem(ctx *Context, name string, id IDInput, state *LocationFsxOntapFileSystemState, opts ...ResourceOption) (*LocationFsxOntapFileSystem, error)
    public static LocationFsxOntapFileSystem Get(string name, Input<string> id, LocationFsxOntapFileSystemState? state, CustomResourceOptions? opts = null)
    public static LocationFsxOntapFileSystem get(String name, Output<String> id, LocationFsxOntapFileSystemState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Arn string
    ARN of the DataSync Location for the FSx Ontap File System.
    CreationTime string
    FsxFilesystemArn string
    ARN of the FSx Ontap File System.
    Protocol LocationFsxOntapFileSystemProtocol
    The data transfer protocol that DataSync uses to access your Amazon FSx file system. See Protocol below.
    SecurityGroupArns List<string>
    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):

    • Network File System (NFS): TCP ports 111, 635, and 2049
    • Server Message Block (SMB): TCP port 445
    StorageVirtualMachineArn string

    The ARN of the SVM in your file system where you want to copy data to of from.

    The following arguments are optional:

    Subdirectory string
    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).
    Tags Dictionary<string, string>
    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.
    TagsAll Dictionary<string, string>

    Deprecated: Please use tags instead.

    Uri string
    URI of the FSx ONTAP file system location
    Arn string
    ARN of the DataSync Location for the FSx Ontap File System.
    CreationTime string
    FsxFilesystemArn string
    ARN of the FSx Ontap File System.
    Protocol LocationFsxOntapFileSystemProtocolArgs
    The data transfer protocol that DataSync uses to access your Amazon FSx file system. See Protocol below.
    SecurityGroupArns []string
    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):

    • Network File System (NFS): TCP ports 111, 635, and 2049
    • Server Message Block (SMB): TCP port 445
    StorageVirtualMachineArn string

    The ARN of the SVM in your file system where you want to copy data to of from.

    The following arguments are optional:

    Subdirectory string
    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).
    Tags map[string]string
    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.
    TagsAll map[string]string

    Deprecated: Please use tags instead.

    Uri string
    URI of the FSx ONTAP file system location
    arn String
    ARN of the DataSync Location for the FSx Ontap File System.
    creationTime String
    fsxFilesystemArn String
    ARN of the FSx Ontap File System.
    protocol LocationFsxOntapFileSystemProtocol
    The data transfer protocol that DataSync uses to access your Amazon FSx file system. See Protocol below.
    securityGroupArns List<String>
    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):

    • Network File System (NFS): TCP ports 111, 635, and 2049
    • Server Message Block (SMB): TCP port 445
    storageVirtualMachineArn String

    The ARN of the SVM in your file system where you want to copy data to of from.

    The following arguments are optional:

    subdirectory String
    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).
    tags Map<String,String>
    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.
    tagsAll Map<String,String>

    Deprecated: Please use tags instead.

    uri String
    URI of the FSx ONTAP file system location
    arn string
    ARN of the DataSync Location for the FSx Ontap File System.
    creationTime string
    fsxFilesystemArn string
    ARN of the FSx Ontap File System.
    protocol LocationFsxOntapFileSystemProtocol
    The data transfer protocol that DataSync uses to access your Amazon FSx file system. See Protocol below.
    securityGroupArns string[]
    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):

    • Network File System (NFS): TCP ports 111, 635, and 2049
    • Server Message Block (SMB): TCP port 445
    storageVirtualMachineArn string

    The ARN of the SVM in your file system where you want to copy data to of from.

    The following arguments are optional:

    subdirectory string
    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).
    tags {[key: string]: string}
    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.
    tagsAll {[key: string]: string}

    Deprecated: Please use tags instead.

    uri string
    URI of the FSx ONTAP file system location
    arn str
    ARN of the DataSync Location for the FSx Ontap File System.
    creation_time str
    fsx_filesystem_arn str
    ARN of the FSx Ontap File System.
    protocol LocationFsxOntapFileSystemProtocolArgs
    The data transfer protocol that DataSync uses to access your Amazon FSx file system. See Protocol below.
    security_group_arns Sequence[str]
    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):

    • Network File System (NFS): TCP ports 111, 635, and 2049
    • Server Message Block (SMB): TCP port 445
    storage_virtual_machine_arn str

    The ARN of the SVM in your file system where you want to copy data to of from.

    The following arguments are optional:

    subdirectory str
    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).
    tags Mapping[str, str]
    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.
    tags_all Mapping[str, str]

    Deprecated: Please use tags instead.

    uri str
    URI of the FSx ONTAP file system location
    arn String
    ARN of the DataSync Location for the FSx Ontap File System.
    creationTime String
    fsxFilesystemArn String
    ARN of the FSx Ontap File System.
    protocol Property Map
    The data transfer protocol that DataSync uses to access your Amazon FSx file system. See Protocol below.
    securityGroupArns List<String>
    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):

    • Network File System (NFS): TCP ports 111, 635, and 2049
    • Server Message Block (SMB): TCP port 445
    storageVirtualMachineArn String

    The ARN of the SVM in your file system where you want to copy data to of from.

    The following arguments are optional:

    subdirectory String
    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).
    tags Map<String>
    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.
    tagsAll Map<String>

    Deprecated: Please use tags instead.

    uri String
    URI of the FSx ONTAP file system location

    Supporting Types

    LocationFsxOntapFileSystemProtocol, LocationFsxOntapFileSystemProtocolArgs

    Nfs LocationFsxOntapFileSystemProtocolNfs
    Network File System (NFS) protocol that DataSync uses to access your FSx ONTAP file system. See NFS below.
    Smb LocationFsxOntapFileSystemProtocolSmb
    Server Message Block (SMB) protocol that DataSync uses to access your FSx ONTAP file system. See [SMB] (#smb) below.
    Nfs LocationFsxOntapFileSystemProtocolNfs
    Network File System (NFS) protocol that DataSync uses to access your FSx ONTAP file system. See NFS below.
    Smb LocationFsxOntapFileSystemProtocolSmb
    Server Message Block (SMB) protocol that DataSync uses to access your FSx ONTAP file system. See [SMB] (#smb) below.
    nfs LocationFsxOntapFileSystemProtocolNfs
    Network File System (NFS) protocol that DataSync uses to access your FSx ONTAP file system. See NFS below.
    smb LocationFsxOntapFileSystemProtocolSmb
    Server Message Block (SMB) protocol that DataSync uses to access your FSx ONTAP file system. See [SMB] (#smb) below.
    nfs LocationFsxOntapFileSystemProtocolNfs
    Network File System (NFS) protocol that DataSync uses to access your FSx ONTAP file system. See NFS below.
    smb LocationFsxOntapFileSystemProtocolSmb
    Server Message Block (SMB) protocol that DataSync uses to access your FSx ONTAP file system. See [SMB] (#smb) below.
    nfs LocationFsxOntapFileSystemProtocolNfs
    Network File System (NFS) protocol that DataSync uses to access your FSx ONTAP file system. See NFS below.
    smb LocationFsxOntapFileSystemProtocolSmb
    Server Message Block (SMB) protocol that DataSync uses to access your FSx ONTAP file system. See [SMB] (#smb) below.
    nfs Property Map
    Network File System (NFS) protocol that DataSync uses to access your FSx ONTAP file system. See NFS below.
    smb Property Map
    Server Message Block (SMB) protocol that DataSync uses to access your FSx ONTAP file system. See [SMB] (#smb) below.

    LocationFsxOntapFileSystemProtocolNfs, LocationFsxOntapFileSystemProtocolNfsArgs

    MountOptions LocationFsxOntapFileSystemProtocolNfsMountOptions
    Mount options that are available for DataSync to access an NFS location. See NFS Mount Options below.
    MountOptions LocationFsxOntapFileSystemProtocolNfsMountOptions
    Mount options that are available for DataSync to access an NFS location. See NFS Mount Options below.
    mountOptions LocationFsxOntapFileSystemProtocolNfsMountOptions
    Mount options that are available for DataSync to access an NFS location. See NFS Mount Options below.
    mountOptions LocationFsxOntapFileSystemProtocolNfsMountOptions
    Mount options that are available for DataSync to access an NFS location. See NFS Mount Options below.
    mount_options LocationFsxOntapFileSystemProtocolNfsMountOptions
    Mount options that are available for DataSync to access an NFS location. See NFS Mount Options below.
    mountOptions Property Map
    Mount options that are available for DataSync to access an NFS location. See NFS Mount Options below.

    LocationFsxOntapFileSystemProtocolNfsMountOptions, LocationFsxOntapFileSystemProtocolNfsMountOptionsArgs

    Version string
    The specific NFS version that you want DataSync to use for mounting your NFS share. Valid values: NFS3. Default: NFS3
    Version string
    The specific NFS version that you want DataSync to use for mounting your NFS share. Valid values: NFS3. Default: NFS3
    version String
    The specific NFS version that you want DataSync to use for mounting your NFS share. Valid values: NFS3. Default: NFS3
    version string
    The specific NFS version that you want DataSync to use for mounting your NFS share. Valid values: NFS3. Default: NFS3
    version str
    The specific NFS version that you want DataSync to use for mounting your NFS share. Valid values: NFS3. Default: NFS3
    version String
    The specific NFS version that you want DataSync to use for mounting your NFS share. Valid values: NFS3. Default: NFS3

    LocationFsxOntapFileSystemProtocolSmb, LocationFsxOntapFileSystemProtocolSmbArgs

    MountOptions LocationFsxOntapFileSystemProtocolSmbMountOptions
    Mount options that are available for DataSync to access an SMB location. See SMB Mount Options below.
    Password string
    Password of a user who has permission to access your SVM.
    User string
    Username that can mount the location and access the files, folders, and metadata that you need in the SVM.
    Domain string
    Fully qualified domain name of the Microsoft Active Directory (AD) that your storage virtual machine belongs to.
    MountOptions LocationFsxOntapFileSystemProtocolSmbMountOptions
    Mount options that are available for DataSync to access an SMB location. See SMB Mount Options below.
    Password string
    Password of a user who has permission to access your SVM.
    User string
    Username that can mount the location and access the files, folders, and metadata that you need in the SVM.
    Domain string
    Fully qualified domain name of the Microsoft Active Directory (AD) that your storage virtual machine belongs to.
    mountOptions LocationFsxOntapFileSystemProtocolSmbMountOptions
    Mount options that are available for DataSync to access an SMB location. See SMB Mount Options below.
    password String
    Password of a user who has permission to access your SVM.
    user String
    Username that can mount the location and access the files, folders, and metadata that you need in the SVM.
    domain String
    Fully qualified domain name of the Microsoft Active Directory (AD) that your storage virtual machine belongs to.
    mountOptions LocationFsxOntapFileSystemProtocolSmbMountOptions
    Mount options that are available for DataSync to access an SMB location. See SMB Mount Options below.
    password string
    Password of a user who has permission to access your SVM.
    user string
    Username that can mount the location and access the files, folders, and metadata that you need in the SVM.
    domain string
    Fully qualified domain name of the Microsoft Active Directory (AD) that your storage virtual machine belongs to.
    mount_options LocationFsxOntapFileSystemProtocolSmbMountOptions
    Mount options that are available for DataSync to access an SMB location. See SMB Mount Options below.
    password str
    Password of a user who has permission to access your SVM.
    user str
    Username that can mount the location and access the files, folders, and metadata that you need in the SVM.
    domain str
    Fully qualified domain name of the Microsoft Active Directory (AD) that your storage virtual machine belongs to.
    mountOptions Property Map
    Mount options that are available for DataSync to access an SMB location. See SMB Mount Options below.
    password String
    Password of a user who has permission to access your SVM.
    user String
    Username that can mount the location and access the files, folders, and metadata that you need in the SVM.
    domain String
    Fully qualified domain name of the Microsoft Active Directory (AD) that your storage virtual machine belongs to.

    LocationFsxOntapFileSystemProtocolSmbMountOptions, LocationFsxOntapFileSystemProtocolSmbMountOptionsArgs

    Version string
    The specific NFS version that you want DataSync to use for mounting your NFS share. Valid values: NFS3. Default: NFS3
    Version string
    The specific NFS version that you want DataSync to use for mounting your NFS share. Valid values: NFS3. Default: NFS3
    version String
    The specific NFS version that you want DataSync to use for mounting your NFS share. Valid values: NFS3. Default: NFS3
    version string
    The specific NFS version that you want DataSync to use for mounting your NFS share. Valid values: NFS3. Default: NFS3
    version str
    The specific NFS version that you want DataSync to use for mounting your NFS share. Valid values: NFS3. Default: NFS3
    version String
    The specific NFS version that you want DataSync to use for mounting your NFS share. Valid values: NFS3. Default: 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
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    AWS Classic pulumi/pulumi-aws
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the aws Terraform Provider.
    aws logo

    Try AWS Native preview for resources not in the classic version.

    AWS Classic v6.32.0 published on Friday, Apr 19, 2024 by Pulumi