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

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi

aws-native.datasync.LocationFSxLustre

Explore with Pulumi AI

aws-native logo

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 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",
        });
    
    });
    
    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
    	})
    }
    

    Coming soon!

    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")
    
    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",
    });
    

    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",
        });
    
    });
    
    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
    	})
    }
    

    Coming soon!

    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")
    
    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",
    });
    

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

    The LocationFSxLustre resource accepts the following input properties:

    SecurityGroupArns 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 []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 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 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 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 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 string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    Package Details

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

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi