1. Packages
  2. AWS
  3. API Docs
  4. datasync
  5. FsxOpenZfsFileSystem
AWS v6.74.0 published on Wednesday, Mar 26, 2025 by Pulumi

aws.datasync.FsxOpenZfsFileSystem

Explore with Pulumi AI

Manages an AWS DataSync FSx OpenZfs Location.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const example = new aws.datasync.FsxOpenZfsFileSystem("example", {
    fsxFilesystemArn: exampleAwsFsxOpenzfsFileSystem.arn,
    securityGroupArns: [exampleAwsSecurityGroup.arn],
    protocol: {
        nfs: {
            mountOptions: {
                version: "AUTOMATIC",
            },
        },
    },
});
Copy
import pulumi
import pulumi_aws as aws

example = aws.datasync.FsxOpenZfsFileSystem("example",
    fsx_filesystem_arn=example_aws_fsx_openzfs_file_system["arn"],
    security_group_arns=[example_aws_security_group["arn"]],
    protocol={
        "nfs": {
            "mount_options": {
                "version": "AUTOMATIC",
            },
        },
    })
Copy
package main

import (
	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/datasync"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := datasync.NewFsxOpenZfsFileSystem(ctx, "example", &datasync.FsxOpenZfsFileSystemArgs{
			FsxFilesystemArn: pulumi.Any(exampleAwsFsxOpenzfsFileSystem.Arn),
			SecurityGroupArns: pulumi.StringArray{
				exampleAwsSecurityGroup.Arn,
			},
			Protocol: &datasync.FsxOpenZfsFileSystemProtocolArgs{
				Nfs: &datasync.FsxOpenZfsFileSystemProtocolNfsArgs{
					MountOptions: &datasync.FsxOpenZfsFileSystemProtocolNfsMountOptionsArgs{
						Version: pulumi.String("AUTOMATIC"),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;

return await Deployment.RunAsync(() => 
{
    var example = new Aws.DataSync.FsxOpenZfsFileSystem("example", new()
    {
        FsxFilesystemArn = exampleAwsFsxOpenzfsFileSystem.Arn,
        SecurityGroupArns = new[]
        {
            exampleAwsSecurityGroup.Arn,
        },
        Protocol = new Aws.DataSync.Inputs.FsxOpenZfsFileSystemProtocolArgs
        {
            Nfs = new Aws.DataSync.Inputs.FsxOpenZfsFileSystemProtocolNfsArgs
            {
                MountOptions = new Aws.DataSync.Inputs.FsxOpenZfsFileSystemProtocolNfsMountOptionsArgs
                {
                    Version = "AUTOMATIC",
                },
            },
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.datasync.FsxOpenZfsFileSystem;
import com.pulumi.aws.datasync.FsxOpenZfsFileSystemArgs;
import com.pulumi.aws.datasync.inputs.FsxOpenZfsFileSystemProtocolArgs;
import com.pulumi.aws.datasync.inputs.FsxOpenZfsFileSystemProtocolNfsArgs;
import com.pulumi.aws.datasync.inputs.FsxOpenZfsFileSystemProtocolNfsMountOptionsArgs;
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 example = new FsxOpenZfsFileSystem("example", FsxOpenZfsFileSystemArgs.builder()
            .fsxFilesystemArn(exampleAwsFsxOpenzfsFileSystem.arn())
            .securityGroupArns(exampleAwsSecurityGroup.arn())
            .protocol(FsxOpenZfsFileSystemProtocolArgs.builder()
                .nfs(FsxOpenZfsFileSystemProtocolNfsArgs.builder()
                    .mountOptions(FsxOpenZfsFileSystemProtocolNfsMountOptionsArgs.builder()
                        .version("AUTOMATIC")
                        .build())
                    .build())
                .build())
            .build());

    }
}
Copy
resources:
  example:
    type: aws:datasync:FsxOpenZfsFileSystem
    properties:
      fsxFilesystemArn: ${exampleAwsFsxOpenzfsFileSystem.arn}
      securityGroupArns:
        - ${exampleAwsSecurityGroup.arn}
      protocol:
        nfs:
          mountOptions:
            version: AUTOMATIC
Copy

Create FsxOpenZfsFileSystem Resource

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

Constructor syntax

new FsxOpenZfsFileSystem(name: string, args: FsxOpenZfsFileSystemArgs, opts?: CustomResourceOptions);
@overload
def FsxOpenZfsFileSystem(resource_name: str,
                         args: FsxOpenZfsFileSystemArgs,
                         opts: Optional[ResourceOptions] = None)

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

Parameters

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

Constructor example

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

var fsxOpenZfsFileSystemResource = new Aws.DataSync.FsxOpenZfsFileSystem("fsxOpenZfsFileSystemResource", new()
{
    FsxFilesystemArn = "string",
    Protocol = new Aws.DataSync.Inputs.FsxOpenZfsFileSystemProtocolArgs
    {
        Nfs = new Aws.DataSync.Inputs.FsxOpenZfsFileSystemProtocolNfsArgs
        {
            MountOptions = new Aws.DataSync.Inputs.FsxOpenZfsFileSystemProtocolNfsMountOptionsArgs
            {
                Version = "string",
            },
        },
    },
    SecurityGroupArns = new[]
    {
        "string",
    },
    Subdirectory = "string",
    Tags = 
    {
        { "string", "string" },
    },
});
Copy
example, err := datasync.NewFsxOpenZfsFileSystem(ctx, "fsxOpenZfsFileSystemResource", &datasync.FsxOpenZfsFileSystemArgs{
	FsxFilesystemArn: pulumi.String("string"),
	Protocol: &datasync.FsxOpenZfsFileSystemProtocolArgs{
		Nfs: &datasync.FsxOpenZfsFileSystemProtocolNfsArgs{
			MountOptions: &datasync.FsxOpenZfsFileSystemProtocolNfsMountOptionsArgs{
				Version: pulumi.String("string"),
			},
		},
	},
	SecurityGroupArns: pulumi.StringArray{
		pulumi.String("string"),
	},
	Subdirectory: pulumi.String("string"),
	Tags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
})
Copy
var fsxOpenZfsFileSystemResource = new FsxOpenZfsFileSystem("fsxOpenZfsFileSystemResource", FsxOpenZfsFileSystemArgs.builder()
    .fsxFilesystemArn("string")
    .protocol(FsxOpenZfsFileSystemProtocolArgs.builder()
        .nfs(FsxOpenZfsFileSystemProtocolNfsArgs.builder()
            .mountOptions(FsxOpenZfsFileSystemProtocolNfsMountOptionsArgs.builder()
                .version("string")
                .build())
            .build())
        .build())
    .securityGroupArns("string")
    .subdirectory("string")
    .tags(Map.of("string", "string"))
    .build());
Copy
fsx_open_zfs_file_system_resource = aws.datasync.FsxOpenZfsFileSystem("fsxOpenZfsFileSystemResource",
    fsx_filesystem_arn="string",
    protocol={
        "nfs": {
            "mount_options": {
                "version": "string",
            },
        },
    },
    security_group_arns=["string"],
    subdirectory="string",
    tags={
        "string": "string",
    })
Copy
const fsxOpenZfsFileSystemResource = new aws.datasync.FsxOpenZfsFileSystem("fsxOpenZfsFileSystemResource", {
    fsxFilesystemArn: "string",
    protocol: {
        nfs: {
            mountOptions: {
                version: "string",
            },
        },
    },
    securityGroupArns: ["string"],
    subdirectory: "string",
    tags: {
        string: "string",
    },
});
Copy
type: aws:datasync:FsxOpenZfsFileSystem
properties:
    fsxFilesystemArn: string
    protocol:
        nfs:
            mountOptions:
                version: string
    securityGroupArns:
        - string
    subdirectory: string
    tags:
        string: string
Copy

FsxOpenZfsFileSystem Resource Properties

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

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The FsxOpenZfsFileSystem resource accepts the following input properties:

FsxFilesystemArn
This property is required.
Changes to this property will trigger replacement.
string
The Amazon Resource Name (ARN) for the FSx for OpenZfs file system.
Protocol
This property is required.
Changes to this property will trigger replacement.
FsxOpenZfsFileSystemProtocol
The type of protocol that DataSync uses to access your file system. See below.
SecurityGroupArns
This property is required.
Changes to this property will trigger replacement.
List<string>
The Amazon Resource Names (ARNs) of the security groups that are to use to configure the FSx for openzfs file system.
Subdirectory Changes to this property will trigger replacement. string
Subdirectory to perform actions as source or destination. Must start with /fsx.
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.
FsxFilesystemArn
This property is required.
Changes to this property will trigger replacement.
string
The Amazon Resource Name (ARN) for the FSx for OpenZfs file system.
Protocol
This property is required.
Changes to this property will trigger replacement.
FsxOpenZfsFileSystemProtocolArgs
The type of protocol that DataSync uses to access your file system. See below.
SecurityGroupArns
This property is required.
Changes to this property will trigger replacement.
[]string
The Amazon Resource Names (ARNs) of the security groups that are to use to configure the FSx for openzfs file system.
Subdirectory Changes to this property will trigger replacement. string
Subdirectory to perform actions as source or destination. Must start with /fsx.
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.
fsxFilesystemArn
This property is required.
Changes to this property will trigger replacement.
String
The Amazon Resource Name (ARN) for the FSx for OpenZfs file system.
protocol
This property is required.
Changes to this property will trigger replacement.
FsxOpenZfsFileSystemProtocol
The type of protocol that DataSync uses to access your file system. See below.
securityGroupArns
This property is required.
Changes to this property will trigger replacement.
List<String>
The Amazon Resource Names (ARNs) of the security groups that are to use to configure the FSx for openzfs file system.
subdirectory Changes to this property will trigger replacement. String
Subdirectory to perform actions as source or destination. Must start with /fsx.
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.
fsxFilesystemArn
This property is required.
Changes to this property will trigger replacement.
string
The Amazon Resource Name (ARN) for the FSx for OpenZfs file system.
protocol
This property is required.
Changes to this property will trigger replacement.
FsxOpenZfsFileSystemProtocol
The type of protocol that DataSync uses to access your file system. See below.
securityGroupArns
This property is required.
Changes to this property will trigger replacement.
string[]
The Amazon Resource Names (ARNs) of the security groups that are to use to configure the FSx for openzfs file system.
subdirectory Changes to this property will trigger replacement. string
Subdirectory to perform actions as source or destination. Must start with /fsx.
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.
fsx_filesystem_arn
This property is required.
Changes to this property will trigger replacement.
str
The Amazon Resource Name (ARN) for the FSx for OpenZfs file system.
protocol
This property is required.
Changes to this property will trigger replacement.
FsxOpenZfsFileSystemProtocolArgs
The type of protocol that DataSync uses to access your file system. See below.
security_group_arns
This property is required.
Changes to this property will trigger replacement.
Sequence[str]
The Amazon Resource Names (ARNs) of the security groups that are to use to configure the FSx for openzfs file system.
subdirectory Changes to this property will trigger replacement. str
Subdirectory to perform actions as source or destination. Must start with /fsx.
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.
fsxFilesystemArn
This property is required.
Changes to this property will trigger replacement.
String
The Amazon Resource Name (ARN) for the FSx for OpenZfs file system.
protocol
This property is required.
Changes to this property will trigger replacement.
Property Map
The type of protocol that DataSync uses to access your file system. See below.
securityGroupArns
This property is required.
Changes to this property will trigger replacement.
List<String>
The Amazon Resource Names (ARNs) of the security groups that are to use to configure the FSx for openzfs file system.
subdirectory Changes to this property will trigger replacement. String
Subdirectory to perform actions as source or destination. Must start with /fsx.
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 FsxOpenZfsFileSystem resource produces the following output properties:

Arn string
Amazon Resource Name (ARN) of the DataSync Location.
CreationTime string
The time that the FSx for openzfs location was created.
Id string
The provider-assigned unique ID for this managed resource.
TagsAll Dictionary<string, string>
A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

Uri string
The URL of the FSx for openzfs location that was described.
Arn string
Amazon Resource Name (ARN) of the DataSync Location.
CreationTime string
The time that the FSx for openzfs location was created.
Id string
The provider-assigned unique ID for this managed resource.
TagsAll map[string]string
A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

Uri string
The URL of the FSx for openzfs location that was described.
arn String
Amazon Resource Name (ARN) of the DataSync Location.
creationTime String
The time that the FSx for openzfs location was created.
id String
The provider-assigned unique ID for this managed resource.
tagsAll Map<String,String>
A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

uri String
The URL of the FSx for openzfs location that was described.
arn string
Amazon Resource Name (ARN) of the DataSync Location.
creationTime string
The time that the FSx for openzfs location was created.
id string
The provider-assigned unique ID for this managed resource.
tagsAll {[key: string]: string}
A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

uri string
The URL of the FSx for openzfs location that was described.
arn str
Amazon Resource Name (ARN) of the DataSync Location.
creation_time str
The time that the FSx for openzfs location was created.
id str
The provider-assigned unique ID for this managed resource.
tags_all Mapping[str, str]
A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

uri str
The URL of the FSx for openzfs location that was described.
arn String
Amazon Resource Name (ARN) of the DataSync Location.
creationTime String
The time that the FSx for openzfs location was created.
id String
The provider-assigned unique ID for this managed resource.
tagsAll Map<String>
A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

uri String
The URL of the FSx for openzfs location that was described.

Look up Existing FsxOpenZfsFileSystem Resource

Get an existing FsxOpenZfsFileSystem 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?: FsxOpenZfsFileSystemState, opts?: CustomResourceOptions): FsxOpenZfsFileSystem
@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[FsxOpenZfsFileSystemProtocolArgs] = None,
        security_group_arns: Optional[Sequence[str]] = None,
        subdirectory: Optional[str] = None,
        tags: Optional[Mapping[str, str]] = None,
        tags_all: Optional[Mapping[str, str]] = None,
        uri: Optional[str] = None) -> FsxOpenZfsFileSystem
func GetFsxOpenZfsFileSystem(ctx *Context, name string, id IDInput, state *FsxOpenZfsFileSystemState, opts ...ResourceOption) (*FsxOpenZfsFileSystem, error)
public static FsxOpenZfsFileSystem Get(string name, Input<string> id, FsxOpenZfsFileSystemState? state, CustomResourceOptions? opts = null)
public static FsxOpenZfsFileSystem get(String name, Output<String> id, FsxOpenZfsFileSystemState state, CustomResourceOptions options)
resources:  _:    type: aws:datasync:FsxOpenZfsFileSystem    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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
Amazon Resource Name (ARN) of the DataSync Location.
CreationTime string
The time that the FSx for openzfs location was created.
FsxFilesystemArn Changes to this property will trigger replacement. string
The Amazon Resource Name (ARN) for the FSx for OpenZfs file system.
Protocol Changes to this property will trigger replacement. FsxOpenZfsFileSystemProtocol
The type of protocol that DataSync uses to access your file system. See below.
SecurityGroupArns Changes to this property will trigger replacement. List<string>
The Amazon Resource Names (ARNs) of the security groups that are to use to configure the FSx for openzfs file system.
Subdirectory Changes to this property will trigger replacement. string
Subdirectory to perform actions as source or destination. Must start with /fsx.
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>
A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

Uri string
The URL of the FSx for openzfs location that was described.
Arn string
Amazon Resource Name (ARN) of the DataSync Location.
CreationTime string
The time that the FSx for openzfs location was created.
FsxFilesystemArn Changes to this property will trigger replacement. string
The Amazon Resource Name (ARN) for the FSx for OpenZfs file system.
Protocol Changes to this property will trigger replacement. FsxOpenZfsFileSystemProtocolArgs
The type of protocol that DataSync uses to access your file system. See below.
SecurityGroupArns Changes to this property will trigger replacement. []string
The Amazon Resource Names (ARNs) of the security groups that are to use to configure the FSx for openzfs file system.
Subdirectory Changes to this property will trigger replacement. string
Subdirectory to perform actions as source or destination. Must start with /fsx.
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
A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

Uri string
The URL of the FSx for openzfs location that was described.
arn String
Amazon Resource Name (ARN) of the DataSync Location.
creationTime String
The time that the FSx for openzfs location was created.
fsxFilesystemArn Changes to this property will trigger replacement. String
The Amazon Resource Name (ARN) for the FSx for OpenZfs file system.
protocol Changes to this property will trigger replacement. FsxOpenZfsFileSystemProtocol
The type of protocol that DataSync uses to access your file system. See below.
securityGroupArns Changes to this property will trigger replacement. List<String>
The Amazon Resource Names (ARNs) of the security groups that are to use to configure the FSx for openzfs file system.
subdirectory Changes to this property will trigger replacement. String
Subdirectory to perform actions as source or destination. Must start with /fsx.
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>
A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

uri String
The URL of the FSx for openzfs location that was described.
arn string
Amazon Resource Name (ARN) of the DataSync Location.
creationTime string
The time that the FSx for openzfs location was created.
fsxFilesystemArn Changes to this property will trigger replacement. string
The Amazon Resource Name (ARN) for the FSx for OpenZfs file system.
protocol Changes to this property will trigger replacement. FsxOpenZfsFileSystemProtocol
The type of protocol that DataSync uses to access your file system. See below.
securityGroupArns Changes to this property will trigger replacement. string[]
The Amazon Resource Names (ARNs) of the security groups that are to use to configure the FSx for openzfs file system.
subdirectory Changes to this property will trigger replacement. string
Subdirectory to perform actions as source or destination. Must start with /fsx.
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}
A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

uri string
The URL of the FSx for openzfs location that was described.
arn str
Amazon Resource Name (ARN) of the DataSync Location.
creation_time str
The time that the FSx for openzfs location was created.
fsx_filesystem_arn Changes to this property will trigger replacement. str
The Amazon Resource Name (ARN) for the FSx for OpenZfs file system.
protocol Changes to this property will trigger replacement. FsxOpenZfsFileSystemProtocolArgs
The type of protocol that DataSync uses to access your file system. See below.
security_group_arns Changes to this property will trigger replacement. Sequence[str]
The Amazon Resource Names (ARNs) of the security groups that are to use to configure the FSx for openzfs file system.
subdirectory Changes to this property will trigger replacement. str
Subdirectory to perform actions as source or destination. Must start with /fsx.
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]
A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

uri str
The URL of the FSx for openzfs location that was described.
arn String
Amazon Resource Name (ARN) of the DataSync Location.
creationTime String
The time that the FSx for openzfs location was created.
fsxFilesystemArn Changes to this property will trigger replacement. String
The Amazon Resource Name (ARN) for the FSx for OpenZfs file system.
protocol Changes to this property will trigger replacement. Property Map
The type of protocol that DataSync uses to access your file system. See below.
securityGroupArns Changes to this property will trigger replacement. List<String>
The Amazon Resource Names (ARNs) of the security groups that are to use to configure the FSx for openzfs file system.
subdirectory Changes to this property will trigger replacement. String
Subdirectory to perform actions as source or destination. Must start with /fsx.
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>
A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

uri String
The URL of the FSx for openzfs location that was described.

Supporting Types

FsxOpenZfsFileSystemProtocol
, FsxOpenZfsFileSystemProtocolArgs

Nfs
This property is required.
Changes to this property will trigger replacement.
FsxOpenZfsFileSystemProtocolNfs
Represents the Network File System (NFS) protocol that DataSync uses to access your FSx for OpenZFS file system. See below.
Nfs
This property is required.
Changes to this property will trigger replacement.
FsxOpenZfsFileSystemProtocolNfs
Represents the Network File System (NFS) protocol that DataSync uses to access your FSx for OpenZFS file system. See below.
nfs
This property is required.
Changes to this property will trigger replacement.
FsxOpenZfsFileSystemProtocolNfs
Represents the Network File System (NFS) protocol that DataSync uses to access your FSx for OpenZFS file system. See below.
nfs
This property is required.
Changes to this property will trigger replacement.
FsxOpenZfsFileSystemProtocolNfs
Represents the Network File System (NFS) protocol that DataSync uses to access your FSx for OpenZFS file system. See below.
nfs
This property is required.
Changes to this property will trigger replacement.
FsxOpenZfsFileSystemProtocolNfs
Represents the Network File System (NFS) protocol that DataSync uses to access your FSx for OpenZFS file system. See below.
nfs
This property is required.
Changes to this property will trigger replacement.
Property Map
Represents the Network File System (NFS) protocol that DataSync uses to access your FSx for OpenZFS file system. See below.

FsxOpenZfsFileSystemProtocolNfs
, FsxOpenZfsFileSystemProtocolNfsArgs

MountOptions
This property is required.
Changes to this property will trigger replacement.
FsxOpenZfsFileSystemProtocolNfsMountOptions
Represents the mount options that are available for DataSync to access an NFS location. See below.
MountOptions
This property is required.
Changes to this property will trigger replacement.
FsxOpenZfsFileSystemProtocolNfsMountOptions
Represents the mount options that are available for DataSync to access an NFS location. See below.
mountOptions
This property is required.
Changes to this property will trigger replacement.
FsxOpenZfsFileSystemProtocolNfsMountOptions
Represents the mount options that are available for DataSync to access an NFS location. See below.
mountOptions
This property is required.
Changes to this property will trigger replacement.
FsxOpenZfsFileSystemProtocolNfsMountOptions
Represents the mount options that are available for DataSync to access an NFS location. See below.
mount_options
This property is required.
Changes to this property will trigger replacement.
FsxOpenZfsFileSystemProtocolNfsMountOptions
Represents the mount options that are available for DataSync to access an NFS location. See below.
mountOptions
This property is required.
Changes to this property will trigger replacement.
Property Map
Represents the mount options that are available for DataSync to access an NFS location. See below.

FsxOpenZfsFileSystemProtocolNfsMountOptions
, FsxOpenZfsFileSystemProtocolNfsMountOptionsArgs

Version Changes to this property will trigger replacement. string
The specific NFS version that you want DataSync to use for mounting your NFS share. Valid values: AUTOMATIC, NFS3, NFS4_0 and NFS4_1. Default: AUTOMATIC
Version Changes to this property will trigger replacement. string
The specific NFS version that you want DataSync to use for mounting your NFS share. Valid values: AUTOMATIC, NFS3, NFS4_0 and NFS4_1. Default: AUTOMATIC
version Changes to this property will trigger replacement. String
The specific NFS version that you want DataSync to use for mounting your NFS share. Valid values: AUTOMATIC, NFS3, NFS4_0 and NFS4_1. Default: AUTOMATIC
version Changes to this property will trigger replacement. string
The specific NFS version that you want DataSync to use for mounting your NFS share. Valid values: AUTOMATIC, NFS3, NFS4_0 and NFS4_1. Default: AUTOMATIC
version Changes to this property will trigger replacement. str
The specific NFS version that you want DataSync to use for mounting your NFS share. Valid values: AUTOMATIC, NFS3, NFS4_0 and NFS4_1. Default: AUTOMATIC
version Changes to this property will trigger replacement. String
The specific NFS version that you want DataSync to use for mounting your NFS share. Valid values: AUTOMATIC, NFS3, NFS4_0 and NFS4_1. Default: AUTOMATIC

Import

Using pulumi import, import aws_datasync_location_fsx_openzfs_file_system using the DataSync-ARN#FSx-openzfs-ARN. For example:

$ pulumi import aws:datasync/fsxOpenZfsFileSystem:FsxOpenZfsFileSystem example arn:aws:datasync:us-west-2:123456789012:location/loc-12345678901234567#arn:aws:fsx:us-west-2:123456789012:file-system/fs-08e04cd442c1bb94a
Copy

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.