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

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

AWS Classic v6.31.0 published on Monday, Apr 15, 2024 by Pulumi

aws.datasync.FsxOpenZfsFileSystem

Explore with Pulumi AI

aws logo

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

AWS Classic v6.31.0 published on Monday, Apr 15, 2024 by Pulumi

    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",
                },
            },
        },
    });
    
    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=aws.datasync.FsxOpenZfsFileSystemProtocolArgs(
            nfs=aws.datasync.FsxOpenZfsFileSystemProtocolNfsArgs(
                mount_options=aws.datasync.FsxOpenZfsFileSystemProtocolNfsMountOptionsArgs(
                    version="AUTOMATIC",
                ),
            ),
        ))
    
    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
    	})
    }
    
    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",
                    },
                },
            },
        });
    
    });
    
    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());
    
        }
    }
    
    resources:
      example:
        type: aws:datasync:FsxOpenZfsFileSystem
        properties:
          fsxFilesystemArn: ${exampleAwsFsxOpenzfsFileSystem.arn}
          securityGroupArns:
            - ${exampleAwsSecurityGroup.arn}
          protocol:
            nfs:
              mountOptions:
                version: AUTOMATIC
    

    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 string
    The unique name of the resource.
    args FsxOpenZfsFileSystemArgs
    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 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 string
    The unique name of the resource.
    args FsxOpenZfsFileSystemArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args FsxOpenZfsFileSystemArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args FsxOpenZfsFileSystemArgs
    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 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" },
        },
    });
    
    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"),
    	},
    })
    
    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());
    
    fsx_open_zfs_file_system_resource = aws.datasync.FsxOpenZfsFileSystem("fsxOpenZfsFileSystemResource",
        fsx_filesystem_arn="string",
        protocol=aws.datasync.FsxOpenZfsFileSystemProtocolArgs(
            nfs=aws.datasync.FsxOpenZfsFileSystemProtocolNfsArgs(
                mount_options=aws.datasync.FsxOpenZfsFileSystemProtocolNfsMountOptionsArgs(
                    version="string",
                ),
            ),
        ),
        security_group_arns=["string"],
        subdirectory="string",
        tags={
            "string": "string",
        })
    
    const fsxOpenZfsFileSystemResource = new aws.datasync.FsxOpenZfsFileSystem("fsxOpenZfsFileSystemResource", {
        fsxFilesystemArn: "string",
        protocol: {
            nfs: {
                mountOptions: {
                    version: "string",
                },
            },
        },
        securityGroupArns: ["string"],
        subdirectory: "string",
        tags: {
            string: "string",
        },
    });
    
    type: aws:datasync:FsxOpenZfsFileSystem
    properties:
        fsxFilesystemArn: string
        protocol:
            nfs:
                mountOptions:
                    version: string
        securityGroupArns:
            - string
        subdirectory: string
        tags:
            string: string
    

    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

    The FsxOpenZfsFileSystem resource accepts the following input properties:

    FsxFilesystemArn string
    The Amazon Resource Name (ARN) for the FSx for OpenZfs file system.
    Protocol FsxOpenZfsFileSystemProtocol
    The type of protocol that DataSync uses to access your file system. See below.
    SecurityGroupArns List<string>
    The Amazon Resource Names (ARNs) of the security groups that are to use to configure the FSx for openzfs file system.
    Subdirectory 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 string
    The Amazon Resource Name (ARN) for the FSx for OpenZfs file system.
    Protocol FsxOpenZfsFileSystemProtocolArgs
    The type of protocol that DataSync uses to access your file system. See below.
    SecurityGroupArns []string
    The Amazon Resource Names (ARNs) of the security groups that are to use to configure the FSx for openzfs file system.
    Subdirectory 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 String
    The Amazon Resource Name (ARN) for the FSx for OpenZfs file system.
    protocol FsxOpenZfsFileSystemProtocol
    The type of protocol that DataSync uses to access your file system. See below.
    securityGroupArns List<String>
    The Amazon Resource Names (ARNs) of the security groups that are to use to configure the FSx for openzfs file system.
    subdirectory 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 string
    The Amazon Resource Name (ARN) for the FSx for OpenZfs file system.
    protocol FsxOpenZfsFileSystemProtocol
    The type of protocol that DataSync uses to access your file system. See below.
    securityGroupArns string[]
    The Amazon Resource Names (ARNs) of the security groups that are to use to configure the FSx for openzfs file system.
    subdirectory 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 str
    The Amazon Resource Name (ARN) for the FSx for OpenZfs file system.
    protocol FsxOpenZfsFileSystemProtocolArgs
    The type of protocol that DataSync uses to access your file system. See below.
    security_group_arns Sequence[str]
    The Amazon Resource Names (ARNs) of the security groups that are to use to configure the FSx for openzfs file system.
    subdirectory 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 String
    The Amazon Resource Name (ARN) for the FSx for OpenZfs file system.
    protocol Property Map
    The type of protocol that DataSync uses to access your file system. See below.
    securityGroupArns List<String>
    The Amazon Resource Names (ARNs) of the security groups that are to use to configure the FSx for openzfs file system.
    subdirectory 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)
    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
    Amazon Resource Name (ARN) of the DataSync Location.
    CreationTime string
    The time that the FSx for openzfs location was created.
    FsxFilesystemArn string
    The Amazon Resource Name (ARN) for the FSx for OpenZfs file system.
    Protocol FsxOpenZfsFileSystemProtocol
    The type of protocol that DataSync uses to access your file system. See below.
    SecurityGroupArns List<string>
    The Amazon Resource Names (ARNs) of the security groups that are to use to configure the FSx for openzfs file system.
    Subdirectory 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 string
    The Amazon Resource Name (ARN) for the FSx for OpenZfs file system.
    Protocol FsxOpenZfsFileSystemProtocolArgs
    The type of protocol that DataSync uses to access your file system. See below.
    SecurityGroupArns []string
    The Amazon Resource Names (ARNs) of the security groups that are to use to configure the FSx for openzfs file system.
    Subdirectory 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 String
    The Amazon Resource Name (ARN) for the FSx for OpenZfs file system.
    protocol FsxOpenZfsFileSystemProtocol
    The type of protocol that DataSync uses to access your file system. See below.
    securityGroupArns List<String>
    The Amazon Resource Names (ARNs) of the security groups that are to use to configure the FSx for openzfs file system.
    subdirectory 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 string
    The Amazon Resource Name (ARN) for the FSx for OpenZfs file system.
    protocol FsxOpenZfsFileSystemProtocol
    The type of protocol that DataSync uses to access your file system. See below.
    securityGroupArns string[]
    The Amazon Resource Names (ARNs) of the security groups that are to use to configure the FSx for openzfs file system.
    subdirectory 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 str
    The Amazon Resource Name (ARN) for the FSx for OpenZfs file system.
    protocol FsxOpenZfsFileSystemProtocolArgs
    The type of protocol that DataSync uses to access your file system. See below.
    security_group_arns Sequence[str]
    The Amazon Resource Names (ARNs) of the security groups that are to use to configure the FSx for openzfs file system.
    subdirectory 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 String
    The Amazon Resource Name (ARN) for the FSx for OpenZfs file system.
    protocol Property Map
    The type of protocol that DataSync uses to access your file system. See below.
    securityGroupArns List<String>
    The Amazon Resource Names (ARNs) of the security groups that are to use to configure the FSx for openzfs file system.
    subdirectory 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 FsxOpenZfsFileSystemProtocolNfs
    Represents the Network File System (NFS) protocol that DataSync uses to access your FSx for OpenZFS file system. See below.
    Nfs FsxOpenZfsFileSystemProtocolNfs
    Represents the Network File System (NFS) protocol that DataSync uses to access your FSx for OpenZFS file system. See below.
    nfs FsxOpenZfsFileSystemProtocolNfs
    Represents the Network File System (NFS) protocol that DataSync uses to access your FSx for OpenZFS file system. See below.
    nfs FsxOpenZfsFileSystemProtocolNfs
    Represents the Network File System (NFS) protocol that DataSync uses to access your FSx for OpenZFS file system. See below.
    nfs FsxOpenZfsFileSystemProtocolNfs
    Represents the Network File System (NFS) protocol that DataSync uses to access your FSx for OpenZFS file system. See below.
    nfs 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 FsxOpenZfsFileSystemProtocolNfsMountOptions
    Represents the mount options that are available for DataSync to access an NFS location. See below.
    MountOptions FsxOpenZfsFileSystemProtocolNfsMountOptions
    Represents the mount options that are available for DataSync to access an NFS location. See below.
    mountOptions FsxOpenZfsFileSystemProtocolNfsMountOptions
    Represents the mount options that are available for DataSync to access an NFS location. See below.
    mountOptions FsxOpenZfsFileSystemProtocolNfsMountOptions
    Represents the mount options that are available for DataSync to access an NFS location. See below.
    mount_options FsxOpenZfsFileSystemProtocolNfsMountOptions
    Represents the mount options that are available for DataSync to access an NFS location. See below.
    mountOptions Property Map
    Represents the mount options that are available for DataSync to access an NFS location. See below.

    FsxOpenZfsFileSystemProtocolNfsMountOptions, FsxOpenZfsFileSystemProtocolNfsMountOptionsArgs

    Version 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 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 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 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 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 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
    

    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.31.0 published on Monday, Apr 15, 2024 by Pulumi