aws-native logo
AWS Native v0.54.0, Mar 21 23

aws-native.datasync.LocationFSxOpenZFS

Resource schema for AWS::DataSync::LocationFSxOpenZFS.

Example Usage

Example

using System.Collections.Generic;
using Pulumi;
using AwsNative = Pulumi.AwsNative;

return await Deployment.RunAsync(() => 
{
    var locationFSxOpenZFS = new AwsNative.DataSync.LocationFSxOpenZFS("locationFSxOpenZFS", new()
    {
        FsxFilesystemArn = "arn:aws:fsx:us-east-2:111222333444:file-system/fs-12345fsx",
        Protocol = new AwsNative.DataSync.Inputs.LocationFSxOpenZFSProtocolArgs
        {
            Nfs = new AwsNative.DataSync.Inputs.LocationFSxOpenZFSNFSArgs
            {
                MountOptions = new AwsNative.DataSync.Inputs.LocationFSxOpenZFSMountOptionsArgs
                {
                    Version = AwsNative.DataSync.LocationFSxOpenZFSMountOptionsVersion.Nfs41,
                },
            },
        },
        SecurityGroupArns = new[]
        {
            "arn:aws:ec2:us-east-2:11122233344:security-group/sg-12345678901212345",
        },
        Subdirectory = "/MySubdirectory",
    });

});

Coming soon!

Coming soon!

import pulumi
import pulumi_aws_native as aws_native

location_f_sx_open_zfs = aws_native.datasync.LocationFSxOpenZFS("locationFSxOpenZFS",
    fsx_filesystem_arn="arn:aws:fsx:us-east-2:111222333444:file-system/fs-12345fsx",
    protocol=aws_native.datasync.LocationFSxOpenZFSProtocolArgs(
        nfs=aws_native.datasync.LocationFSxOpenZFSNFSArgs(
            mount_options=aws_native.datasync.LocationFSxOpenZFSMountOptionsArgs(
                version=aws_native.datasync.LocationFSxOpenZFSMountOptionsVersion.NFS41,
            ),
        ),
    ),
    security_group_arns=["arn:aws:ec2:us-east-2:11122233344:security-group/sg-12345678901212345"],
    subdirectory="/MySubdirectory")
import * as pulumi from "@pulumi/pulumi";
import * as aws_native from "@pulumi/aws-native";

const locationFSxOpenZFS = new aws_native.datasync.LocationFSxOpenZFS("locationFSxOpenZFS", {
    fsxFilesystemArn: "arn:aws:fsx:us-east-2:111222333444:file-system/fs-12345fsx",
    protocol: {
        nfs: {
            mountOptions: {
                version: aws_native.datasync.LocationFSxOpenZFSMountOptionsVersion.Nfs41,
            },
        },
    },
    securityGroupArns: ["arn:aws:ec2:us-east-2:11122233344:security-group/sg-12345678901212345"],
    subdirectory: "/MySubdirectory",
});

Coming soon!

Example

using System.Collections.Generic;
using Pulumi;
using AwsNative = Pulumi.AwsNative;

return await Deployment.RunAsync(() => 
{
    var locationFSxOpenZFS = new AwsNative.DataSync.LocationFSxOpenZFS("locationFSxOpenZFS", new()
    {
        FsxFilesystemArn = "arn:aws:fsx:us-east-2:111222333444:file-system/fs-12345fsx",
        Protocol = new AwsNative.DataSync.Inputs.LocationFSxOpenZFSProtocolArgs
        {
            Nfs = new AwsNative.DataSync.Inputs.LocationFSxOpenZFSNFSArgs
            {
                MountOptions = new AwsNative.DataSync.Inputs.LocationFSxOpenZFSMountOptionsArgs
                {
                    Version = AwsNative.DataSync.LocationFSxOpenZFSMountOptionsVersion.Nfs41,
                },
            },
        },
        SecurityGroupArns = new[]
        {
            "arn:aws:ec2:us-east-2:11122233344:security-group/sg-12345678901212345",
        },
        Subdirectory = "/MySubdirectory",
    });

});

Coming soon!

Coming soon!

import pulumi
import pulumi_aws_native as aws_native

location_f_sx_open_zfs = aws_native.datasync.LocationFSxOpenZFS("locationFSxOpenZFS",
    fsx_filesystem_arn="arn:aws:fsx:us-east-2:111222333444:file-system/fs-12345fsx",
    protocol=aws_native.datasync.LocationFSxOpenZFSProtocolArgs(
        nfs=aws_native.datasync.LocationFSxOpenZFSNFSArgs(
            mount_options=aws_native.datasync.LocationFSxOpenZFSMountOptionsArgs(
                version=aws_native.datasync.LocationFSxOpenZFSMountOptionsVersion.NFS41,
            ),
        ),
    ),
    security_group_arns=["arn:aws:ec2:us-east-2:11122233344:security-group/sg-12345678901212345"],
    subdirectory="/MySubdirectory")
import * as pulumi from "@pulumi/pulumi";
import * as aws_native from "@pulumi/aws-native";

const locationFSxOpenZFS = new aws_native.datasync.LocationFSxOpenZFS("locationFSxOpenZFS", {
    fsxFilesystemArn: "arn:aws:fsx:us-east-2:111222333444:file-system/fs-12345fsx",
    protocol: {
        nfs: {
            mountOptions: {
                version: aws_native.datasync.LocationFSxOpenZFSMountOptionsVersion.Nfs41,
            },
        },
    },
    securityGroupArns: ["arn:aws:ec2:us-east-2:11122233344:security-group/sg-12345678901212345"],
    subdirectory: "/MySubdirectory",
});

Coming soon!

Create LocationFSxOpenZFS Resource

new LocationFSxOpenZFS(name: string, args: LocationFSxOpenZFSArgs, opts?: CustomResourceOptions);
@overload
def LocationFSxOpenZFS(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       fsx_filesystem_arn: Optional[str] = None,
                       protocol: Optional[LocationFSxOpenZFSProtocolArgs] = None,
                       security_group_arns: Optional[Sequence[str]] = None,
                       subdirectory: Optional[str] = None,
                       tags: Optional[Sequence[LocationFSxOpenZFSTagArgs]] = None)
@overload
def LocationFSxOpenZFS(resource_name: str,
                       args: LocationFSxOpenZFSArgs,
                       opts: Optional[ResourceOptions] = None)
func NewLocationFSxOpenZFS(ctx *Context, name string, args LocationFSxOpenZFSArgs, opts ...ResourceOption) (*LocationFSxOpenZFS, error)
public LocationFSxOpenZFS(string name, LocationFSxOpenZFSArgs args, CustomResourceOptions? opts = null)
public LocationFSxOpenZFS(String name, LocationFSxOpenZFSArgs args)
public LocationFSxOpenZFS(String name, LocationFSxOpenZFSArgs args, CustomResourceOptions options)
type: aws-native:datasync:LocationFSxOpenZFS
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args LocationFSxOpenZFSArgs
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 LocationFSxOpenZFSArgs
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 LocationFSxOpenZFSArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args LocationFSxOpenZFSArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args LocationFSxOpenZFSArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

LocationFSxOpenZFS 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 LocationFSxOpenZFS resource accepts the following input properties:

Protocol Pulumi.AwsNative.DataSync.Inputs.LocationFSxOpenZFSProtocolArgs
SecurityGroupArns List<string>

The ARNs of the security groups that are to use to configure the FSx OpenZFS file system.

FsxFilesystemArn string

The Amazon Resource Name (ARN) for the FSx OpenZFS file system.

Subdirectory string

A subdirectory in the location's path.

Tags List<Pulumi.AwsNative.DataSync.Inputs.LocationFSxOpenZFSTagArgs>

An array of key-value pairs to apply to this resource.

Protocol LocationFSxOpenZFSProtocolArgs
SecurityGroupArns []string

The ARNs of the security groups that are to use to configure the FSx OpenZFS file system.

FsxFilesystemArn string

The Amazon Resource Name (ARN) for the FSx OpenZFS file system.

Subdirectory string

A subdirectory in the location's path.

Tags []LocationFSxOpenZFSTagArgs

An array of key-value pairs to apply to this resource.

protocol LocationFSxOpenZFSProtocolArgs
securityGroupArns List<String>

The ARNs of the security groups that are to use to configure the FSx OpenZFS file system.

fsxFilesystemArn String

The Amazon Resource Name (ARN) for the FSx OpenZFS file system.

subdirectory String

A subdirectory in the location's path.

tags List<LocationFSxOpenZFSTagArgs>

An array of key-value pairs to apply to this resource.

protocol LocationFSxOpenZFSProtocolArgs
securityGroupArns string[]

The ARNs of the security groups that are to use to configure the FSx OpenZFS file system.

fsxFilesystemArn string

The Amazon Resource Name (ARN) for the FSx OpenZFS file system.

subdirectory string

A subdirectory in the location's path.

tags LocationFSxOpenZFSTagArgs[]

An array of key-value pairs to apply to this resource.

protocol LocationFSxOpenZFSProtocolArgs
security_group_arns Sequence[str]

The ARNs of the security groups that are to use to configure the FSx OpenZFS file system.

fsx_filesystem_arn str

The Amazon Resource Name (ARN) for the FSx OpenZFS file system.

subdirectory str

A subdirectory in the location's path.

tags Sequence[LocationFSxOpenZFSTagArgs]

An array of key-value pairs to apply to this resource.

protocol Property Map
securityGroupArns List<String>

The ARNs of the security groups that are to use to configure the FSx OpenZFS file system.

fsxFilesystemArn String

The Amazon Resource Name (ARN) for the FSx OpenZFS file system.

subdirectory String

A subdirectory in the location's path.

tags List<Property Map>

An array of key-value pairs to apply to this resource.

Outputs

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

Id string

The provider-assigned unique ID for this managed resource.

LocationArn string

The Amazon Resource Name (ARN) of the Amazon FSx OpenZFS file system location that is created.

LocationUri string

The URL of the FSx OpenZFS that was described.

Id string

The provider-assigned unique ID for this managed resource.

LocationArn string

The Amazon Resource Name (ARN) of the Amazon FSx OpenZFS file system location that is created.

LocationUri string

The URL of the FSx OpenZFS that was described.

id String

The provider-assigned unique ID for this managed resource.

locationArn String

The Amazon Resource Name (ARN) of the Amazon FSx OpenZFS file system location that is created.

locationUri String

The URL of the FSx OpenZFS that was described.

id string

The provider-assigned unique ID for this managed resource.

locationArn string

The Amazon Resource Name (ARN) of the Amazon FSx OpenZFS file system location that is created.

locationUri string

The URL of the FSx OpenZFS that was described.

id str

The provider-assigned unique ID for this managed resource.

location_arn str

The Amazon Resource Name (ARN) of the Amazon FSx OpenZFS file system location that is created.

location_uri str

The URL of the FSx OpenZFS that was described.

id String

The provider-assigned unique ID for this managed resource.

locationArn String

The Amazon Resource Name (ARN) of the Amazon FSx OpenZFS file system location that is created.

locationUri String

The URL of the FSx OpenZFS that was described.

Supporting Types

LocationFSxOpenZFSMountOptions

Version Pulumi.AwsNative.DataSync.LocationFSxOpenZFSMountOptionsVersion

The specific NFS version that you want DataSync to use to mount your NFS share.

Version LocationFSxOpenZFSMountOptionsVersion

The specific NFS version that you want DataSync to use to mount your NFS share.

version LocationFSxOpenZFSMountOptionsVersion

The specific NFS version that you want DataSync to use to mount your NFS share.

version LocationFSxOpenZFSMountOptionsVersion

The specific NFS version that you want DataSync to use to mount your NFS share.

version LocationFSxOpenZFSMountOptionsVersion

The specific NFS version that you want DataSync to use to mount your NFS share.

version "AUTOMATIC" | "NFS3" | "NFS4_0" | "NFS4_1"

The specific NFS version that you want DataSync to use to mount your NFS share.

LocationFSxOpenZFSMountOptionsVersion

Automatic
AUTOMATIC
Nfs3
NFS3
Nfs40
NFS4_0
Nfs41
NFS4_1
LocationFSxOpenZFSMountOptionsVersionAutomatic
AUTOMATIC
LocationFSxOpenZFSMountOptionsVersionNfs3
NFS3
LocationFSxOpenZFSMountOptionsVersionNfs40
NFS4_0
LocationFSxOpenZFSMountOptionsVersionNfs41
NFS4_1
Automatic
AUTOMATIC
Nfs3
NFS3
Nfs40
NFS4_0
Nfs41
NFS4_1
Automatic
AUTOMATIC
Nfs3
NFS3
Nfs40
NFS4_0
Nfs41
NFS4_1
AUTOMATIC
AUTOMATIC
NFS3
NFS3
NFS40
NFS4_0
NFS41
NFS4_1
"AUTOMATIC"
AUTOMATIC
"NFS3"
NFS3
"NFS4_0"
NFS4_0
"NFS4_1"
NFS4_1

LocationFSxOpenZFSNFS

LocationFSxOpenZFSProtocol

LocationFSxOpenZFSTag

Key string

The key for an AWS resource tag.

Value string

The value for an AWS resource tag.

Key string

The key for an AWS resource tag.

Value string

The value for an AWS resource tag.

key String

The key for an AWS resource tag.

value String

The value for an AWS resource tag.

key string

The key for an AWS resource tag.

value string

The value for an AWS resource tag.

key str

The key for an AWS resource tag.

value str

The value for an AWS resource tag.

key String

The key for an AWS resource tag.

value String

The value for an AWS resource tag.

Package Details

Repository
AWS Native pulumi/pulumi-aws-native
License
Apache-2.0