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

aws-native.datasync.LocationFSxLustre

Resource schema for AWS::DataSync::LocationFSxLustre.

Example Usage

Example

using System.Collections.Generic;
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 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

new LocationFSxLustre(name: string, args: LocationFSxLustreArgs, opts?: CustomResourceOptions);
@overload
def LocationFSxLustre(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      fsx_filesystem_arn: Optional[str] = None,
                      security_group_arns: Optional[Sequence[str]] = None,
                      subdirectory: Optional[str] = None,
                      tags: Optional[Sequence[LocationFSxLustreTagArgs]] = None)
@overload
def LocationFSxLustre(resource_name: str,
                      args: LocationFSxLustreArgs,
                      opts: Optional[ResourceOptions] = 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.

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.DataSync.Inputs.LocationFSxLustreTagArgs>

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 []LocationFSxLustreTagArgs

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

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 LocationFSxLustreTagArgs[]

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[LocationFSxLustreTagArgs]

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

LocationFSxLustreTag

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