We recommend new projects start with resources from the AWS provider.
aws-native.datasync.LocationFSxLustre
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
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
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:
- Security
Group List<string>Arns - The ARNs of the security groups that are to use to configure the FSx for Lustre file system.
- Fsx
Filesystem stringArn - The Amazon Resource Name (ARN) for the FSx for Lustre file system.
- Subdirectory string
- A subdirectory in the location's path.
- List<Pulumi.
Aws Native. Inputs. Tag> - An array of key-value pairs to apply to this resource.
- Security
Group []stringArns - The ARNs of the security groups that are to use to configure the FSx for Lustre file system.
- Fsx
Filesystem stringArn - The Amazon Resource Name (ARN) for the FSx for Lustre file system.
- Subdirectory string
- A subdirectory in the location's path.
- Tag
Args - An array of key-value pairs to apply to this resource.
- security
Group List<String>Arns - The ARNs of the security groups that are to use to configure the FSx for Lustre file system.
- fsx
Filesystem StringArn - The Amazon Resource Name (ARN) for the FSx for Lustre file system.
- subdirectory String
- A subdirectory in the location's path.
- List<Tag>
- An array of key-value pairs to apply to this resource.
- security
Group string[]Arns - The ARNs of the security groups that are to use to configure the FSx for Lustre file system.
- fsx
Filesystem stringArn - The Amazon Resource Name (ARN) for the FSx for Lustre file system.
- subdirectory string
- A subdirectory in the location's path.
- Tag[]
- An array of key-value pairs to apply to this resource.
- security_
group_ Sequence[str]arns - The ARNs of the security groups that are to use to configure the FSx for Lustre file system.
- fsx_
filesystem_ strarn - The Amazon Resource Name (ARN) for the FSx for Lustre file system.
- subdirectory str
- A subdirectory in the location's path.
- Sequence[Tag
Args] - An array of key-value pairs to apply to this resource.
- security
Group List<String>Arns - The ARNs of the security groups that are to use to configure the FSx for Lustre file system.
- fsx
Filesystem StringArn - The Amazon Resource Name (ARN) for the FSx for Lustre file system.
- subdirectory String
- A subdirectory in the location's path.
- 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.
- Location
Arn string - The Amazon Resource Name (ARN) of the Amazon FSx for Lustre file system location that is created.
- Location
Uri string - The URL of the FSx for Lustre location that was described.
- Id string
- The provider-assigned unique ID for this managed resource.
- Location
Arn string - The Amazon Resource Name (ARN) of the Amazon FSx for Lustre file system location that is created.
- Location
Uri string - The URL of the FSx for Lustre location that was described.
- id String
- The provider-assigned unique ID for this managed resource.
- location
Arn String - The Amazon Resource Name (ARN) of the Amazon FSx for Lustre file system location that is created.
- location
Uri String - The URL of the FSx for Lustre location that was described.
- id string
- The provider-assigned unique ID for this managed resource.
- location
Arn string - The Amazon Resource Name (ARN) of the Amazon FSx for Lustre file system location that is created.
- location
Uri 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.
- location
Arn String - The Amazon Resource Name (ARN) of the Amazon FSx for Lustre file system location that is created.
- location
Uri String - The URL of the FSx for Lustre location that was described.
Supporting Types
Tag, TagArgs
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.