1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. datasync
  5. LocationFSxLustre

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi

aws-native.datasync.LocationFSxLustre

Explore with Pulumi AI

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi

Resource schema for AWS::DataSync::LocationFSxLustre.

Example Usage

Example

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

return await Deployment.RunAsync(() => 
{
    var locationFSxLustre = new AwsNative.DataSync.LocationFSxLustre("locationFSxLustre", new()
    {
        FsxFilesystemArn = "arn:aws:fsx:us-east-2:111222333444:file-system/fs-12345fsx",
        SecurityGroupArns = new[]
        {
            "arn:aws:ec2:us-east-2:11122233344:security-group/sg-12345678901212345",
        },
        Subdirectory = "/MySubdirectory",
    });

});
Copy
package main

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

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := datasync.NewLocationFSxLustre(ctx, "locationFSxLustre", &datasync.LocationFSxLustreArgs{
			FsxFilesystemArn: pulumi.String("arn:aws:fsx:us-east-2:111222333444:file-system/fs-12345fsx"),
			SecurityGroupArns: pulumi.StringArray{
				pulumi.String("arn:aws:ec2:us-east-2:11122233344:security-group/sg-12345678901212345"),
			},
			Subdirectory: pulumi.String("/MySubdirectory"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy

Coming soon!

import * as pulumi from "@pulumi/pulumi";
import * as aws_native from "@pulumi/aws-native";

const locationFSxLustre = new aws_native.datasync.LocationFSxLustre("locationFSxLustre", {
    fsxFilesystemArn: "arn:aws:fsx:us-east-2:111222333444:file-system/fs-12345fsx",
    securityGroupArns: ["arn:aws:ec2:us-east-2:11122233344:security-group/sg-12345678901212345"],
    subdirectory: "/MySubdirectory",
});
Copy
import pulumi
import pulumi_aws_native as aws_native

location_f_sx_lustre = aws_native.datasync.LocationFSxLustre("locationFSxLustre",
    fsx_filesystem_arn="arn:aws:fsx:us-east-2:111222333444:file-system/fs-12345fsx",
    security_group_arns=["arn:aws:ec2:us-east-2:11122233344:security-group/sg-12345678901212345"],
    subdirectory="/MySubdirectory")
Copy

Coming soon!

Example

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

return await Deployment.RunAsync(() => 
{
    var locationFSxLustre = new AwsNative.DataSync.LocationFSxLustre("locationFSxLustre", new()
    {
        FsxFilesystemArn = "arn:aws:fsx:us-east-2:111222333444:file-system/fs-12345fsx",
        SecurityGroupArns = new[]
        {
            "arn:aws:ec2:us-east-2:11122233344:security-group/sg-12345678901212345",
        },
        Subdirectory = "/MySubdirectory",
    });

});
Copy
package main

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

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := datasync.NewLocationFSxLustre(ctx, "locationFSxLustre", &datasync.LocationFSxLustreArgs{
			FsxFilesystemArn: pulumi.String("arn:aws:fsx:us-east-2:111222333444:file-system/fs-12345fsx"),
			SecurityGroupArns: pulumi.StringArray{
				pulumi.String("arn:aws:ec2:us-east-2:11122233344:security-group/sg-12345678901212345"),
			},
			Subdirectory: pulumi.String("/MySubdirectory"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy

Coming soon!

import * as pulumi from "@pulumi/pulumi";
import * as aws_native from "@pulumi/aws-native";

const locationFSxLustre = new aws_native.datasync.LocationFSxLustre("locationFSxLustre", {
    fsxFilesystemArn: "arn:aws:fsx:us-east-2:111222333444:file-system/fs-12345fsx",
    securityGroupArns: ["arn:aws:ec2:us-east-2:11122233344:security-group/sg-12345678901212345"],
    subdirectory: "/MySubdirectory",
});
Copy
import pulumi
import pulumi_aws_native as aws_native

location_f_sx_lustre = aws_native.datasync.LocationFSxLustre("locationFSxLustre",
    fsx_filesystem_arn="arn:aws:fsx:us-east-2:111222333444:file-system/fs-12345fsx",
    security_group_arns=["arn:aws:ec2:us-east-2:11122233344:security-group/sg-12345678901212345"],
    subdirectory="/MySubdirectory")
Copy

Coming soon!

Create LocationFSxLustre Resource

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

Constructor syntax

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

@overload
def LocationFSxLustre(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      security_group_arns: Optional[Sequence[str]] = None,
                      fsx_filesystem_arn: Optional[str] = None,
                      subdirectory: Optional[str] = None,
                      tags: Optional[Sequence[_root_inputs.TagArgs]] = None)
func NewLocationFSxLustre(ctx *Context, name string, args LocationFSxLustreArgs, opts ...ResourceOption) (*LocationFSxLustre, error)
public LocationFSxLustre(string name, LocationFSxLustreArgs args, CustomResourceOptions? opts = null)
public LocationFSxLustre(String name, LocationFSxLustreArgs args)
public LocationFSxLustre(String name, LocationFSxLustreArgs args, CustomResourceOptions options)
type: aws-native:datasync:LocationFSxLustre
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. LocationFSxLustreArgs
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. LocationFSxLustreArgs
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. LocationFSxLustreArgs
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. LocationFSxLustreArgs
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. LocationFSxLustreArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

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

SecurityGroupArns This property is required. List<string>
The ARNs of the security groups that are to use to configure the FSx for Lustre file system.
FsxFilesystemArn string
The Amazon Resource Name (ARN) for the FSx for Lustre file system.
Subdirectory string
A subdirectory in the location's path.
Tags List<Pulumi.AwsNative.Inputs.Tag>
An array of key-value pairs to apply to this resource.
SecurityGroupArns This property is required. []string
The ARNs of the security groups that are to use to configure the FSx for Lustre file system.
FsxFilesystemArn string
The Amazon Resource Name (ARN) for the FSx for Lustre file system.
Subdirectory string
A subdirectory in the location's path.
Tags TagArgs
An array of key-value pairs to apply to this resource.
securityGroupArns This property is required. List<String>
The ARNs of the security groups that are to use to configure the FSx for Lustre file system.
fsxFilesystemArn String
The Amazon Resource Name (ARN) for the FSx for Lustre file system.
subdirectory String
A subdirectory in the location's path.
tags List<Tag>
An array of key-value pairs to apply to this resource.
securityGroupArns This property is required. string[]
The ARNs of the security groups that are to use to configure the FSx for Lustre file system.
fsxFilesystemArn string
The Amazon Resource Name (ARN) for the FSx for Lustre file system.
subdirectory string
A subdirectory in the location's path.
tags Tag[]
An array of key-value pairs to apply to this resource.
security_group_arns This property is required. Sequence[str]
The ARNs of the security groups that are to use to configure the FSx for Lustre file system.
fsx_filesystem_arn str
The Amazon Resource Name (ARN) for the FSx for Lustre file system.
subdirectory str
A subdirectory in the location's path.
tags Sequence[TagArgs]
An array of key-value pairs to apply to this resource.
securityGroupArns This property is required. List<String>
The ARNs of the security groups that are to use to configure the FSx for Lustre file system.
fsxFilesystemArn String
The Amazon Resource Name (ARN) for the FSx for Lustre 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 LocationFSxLustre 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 for Lustre file system location that is created.
LocationUri string
The URL of the FSx for Lustre location 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 for Lustre file system location that is created.
LocationUri string
The URL of the FSx for Lustre location 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 for Lustre file system location that is created.
locationUri String
The URL of the FSx for Lustre location 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 for Lustre file system location that is created.
locationUri string
The URL of the FSx for Lustre location 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 for Lustre file system location that is created.
location_uri str
The URL of the FSx for Lustre location 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 for Lustre file system location that is created.
locationUri String
The URL of the FSx for Lustre location that was described.

Supporting Types

Tag
, TagArgs

Key This property is required. string
The key name of the tag
Value This property is required. string
The value of the tag
Key This property is required. string
The key name of the tag
Value This property is required. string
The value of the tag
key This property is required. String
The key name of the tag
value This property is required. String
The value of the tag
key This property is required. string
The key name of the tag
value This property is required. string
The value of the tag
key This property is required. str
The key name of the tag
value This property is required. str
The value of the tag
key This property is required. String
The key name of the tag
value This property is required. String
The value of the tag

Package Details

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

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi