1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. fsx
  5. DataRepositoryAssociation

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

AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi

aws-native.fsx.DataRepositoryAssociation

Explore with Pulumi AI

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

AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi

Creates an Amazon FSx for Lustre data repository association (DRA). A data repository association is a link between a directory on the file system and an Amazon S3 bucket or prefix. You can have a maximum of 8 data repository associations on a file system. Data repository associations are supported on all FSx for Lustre 2.12 and newer file systems, excluding scratch_1 deployment type. Each data repository association must have a unique Amazon FSx file system directory and a unique S3 bucket or prefix associated with it. You can configure a data repository association for automatic import only, for automatic export only, or for both. To learn more about linking a data repository to your file system, see Linking your file system to an S3 bucket.

Example Usage

Example

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

return await Deployment.RunAsync(() => 
{
    var config = new Config();
    var fsId = config.Require("fsId");
    var draIdExportName = config.Require("draIdExportName");
    var fileSystemPath = config.Require("fileSystemPath");
    var importedFileChunkSize = config.Require("importedFileChunkSize");
    var testDRA = new AwsNative.FSx.DataRepositoryAssociation("testDRA", new()
    {
        FileSystemId = fsId,
        FileSystemPath = fileSystemPath,
        DataRepositoryPath = "s3://example-bucket",
        BatchImportMetaDataOnCreate = true,
        ImportedFileChunkSize = importedFileChunkSize,
        S3 = new AwsNative.FSx.Inputs.DataRepositoryAssociationS3Args
        {
            AutoImportPolicy = new AwsNative.FSx.Inputs.DataRepositoryAssociationAutoImportPolicyArgs
            {
                Events = new[]
                {
                    AwsNative.FSx.DataRepositoryAssociationEventType.New,
                    AwsNative.FSx.DataRepositoryAssociationEventType.Changed,
                    AwsNative.FSx.DataRepositoryAssociationEventType.Deleted,
                },
            },
            AutoExportPolicy = new AwsNative.FSx.Inputs.DataRepositoryAssociationAutoExportPolicyArgs
            {
                Events = new[]
                {
                    AwsNative.FSx.DataRepositoryAssociationEventType.New,
                    AwsNative.FSx.DataRepositoryAssociationEventType.Changed,
                    AwsNative.FSx.DataRepositoryAssociationEventType.Deleted,
                },
            },
        },
        Tags = new[]
        {
            new AwsNative.Inputs.TagArgs
            {
                Key = "Location",
                Value = "Boston",
            },
        },
    });

    return new Dictionary<string, object?>
    {
        ["draId"] = testDRA.Id,
    };
});
Copy
package main

import (
	awsnative "github.com/pulumi/pulumi-aws-native/sdk/go/aws"
	"github.com/pulumi/pulumi-aws-native/sdk/go/aws/fsx"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		fsId := cfg.Require("fsId")
		draIdExportName := cfg.Require("draIdExportName")
		fileSystemPath := cfg.Require("fileSystemPath")
		importedFileChunkSize := cfg.Require("importedFileChunkSize")
		testDRA, err := fsx.NewDataRepositoryAssociation(ctx, "testDRA", &fsx.DataRepositoryAssociationArgs{
			FileSystemId:                pulumi.String(fsId),
			FileSystemPath:              pulumi.String(fileSystemPath),
			DataRepositoryPath:          pulumi.String("s3://example-bucket"),
			BatchImportMetaDataOnCreate: pulumi.Bool(true),
			ImportedFileChunkSize:       pulumi.String(importedFileChunkSize),
			S3: &fsx.DataRepositoryAssociationS3Args{
				AutoImportPolicy: &fsx.DataRepositoryAssociationAutoImportPolicyArgs{
					Events: fsx.DataRepositoryAssociationEventTypeArray{
						fsx.DataRepositoryAssociationEventTypeNew,
						fsx.DataRepositoryAssociationEventTypeChanged,
						fsx.DataRepositoryAssociationEventTypeDeleted,
					},
				},
				AutoExportPolicy: &fsx.DataRepositoryAssociationAutoExportPolicyArgs{
					Events: fsx.DataRepositoryAssociationEventTypeArray{
						fsx.DataRepositoryAssociationEventTypeNew,
						fsx.DataRepositoryAssociationEventTypeChanged,
						fsx.DataRepositoryAssociationEventTypeDeleted,
					},
				},
			},
			Tags: aws.TagArray{
				&aws.TagArgs{
					Key:   pulumi.String("Location"),
					Value: pulumi.String("Boston"),
				},
			},
		})
		if err != nil {
			return err
		}
		ctx.Export("draId", testDRA.ID())
		return nil
	})
}
Copy

Coming soon!

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

const config = new pulumi.Config();
const fsId = config.require("fsId");
const draIdExportName = config.require("draIdExportName");
const fileSystemPath = config.require("fileSystemPath");
const importedFileChunkSize = config.require("importedFileChunkSize");
const testDRA = new aws_native.fsx.DataRepositoryAssociation("testDRA", {
    fileSystemId: fsId,
    fileSystemPath: fileSystemPath,
    dataRepositoryPath: "s3://example-bucket",
    batchImportMetaDataOnCreate: true,
    importedFileChunkSize: importedFileChunkSize,
    s3: {
        autoImportPolicy: {
            events: [
                aws_native.fsx.DataRepositoryAssociationEventType.New,
                aws_native.fsx.DataRepositoryAssociationEventType.Changed,
                aws_native.fsx.DataRepositoryAssociationEventType.Deleted,
            ],
        },
        autoExportPolicy: {
            events: [
                aws_native.fsx.DataRepositoryAssociationEventType.New,
                aws_native.fsx.DataRepositoryAssociationEventType.Changed,
                aws_native.fsx.DataRepositoryAssociationEventType.Deleted,
            ],
        },
    },
    tags: [{
        key: "Location",
        value: "Boston",
    }],
});
export const draId = testDRA.id;
Copy
import pulumi
import pulumi_aws_native as aws_native

config = pulumi.Config()
fs_id = config.require("fsId")
dra_id_export_name = config.require("draIdExportName")
file_system_path = config.require("fileSystemPath")
imported_file_chunk_size = config.require("importedFileChunkSize")
test_dra = aws_native.fsx.DataRepositoryAssociation("testDRA",
    file_system_id=fs_id,
    file_system_path=file_system_path,
    data_repository_path="s3://example-bucket",
    batch_import_meta_data_on_create=True,
    imported_file_chunk_size=imported_file_chunk_size,
    s3={
        "auto_import_policy": {
            "events": [
                aws_native.fsx.DataRepositoryAssociationEventType.NEW,
                aws_native.fsx.DataRepositoryAssociationEventType.CHANGED,
                aws_native.fsx.DataRepositoryAssociationEventType.DELETED,
            ],
        },
        "auto_export_policy": {
            "events": [
                aws_native.fsx.DataRepositoryAssociationEventType.NEW,
                aws_native.fsx.DataRepositoryAssociationEventType.CHANGED,
                aws_native.fsx.DataRepositoryAssociationEventType.DELETED,
            ],
        },
    },
    tags=[{
        "key": "Location",
        "value": "Boston",
    }])
pulumi.export("draId", test_dra.id)
Copy

Coming soon!

Create DataRepositoryAssociation Resource

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

Constructor syntax

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

@overload
def DataRepositoryAssociation(resource_name: str,
                              opts: Optional[ResourceOptions] = None,
                              data_repository_path: Optional[str] = None,
                              file_system_id: Optional[str] = None,
                              file_system_path: Optional[str] = None,
                              batch_import_meta_data_on_create: Optional[bool] = None,
                              imported_file_chunk_size: Optional[int] = None,
                              s3: Optional[DataRepositoryAssociationS3Args] = None,
                              tags: Optional[Sequence[_root_inputs.TagArgs]] = None)
func NewDataRepositoryAssociation(ctx *Context, name string, args DataRepositoryAssociationArgs, opts ...ResourceOption) (*DataRepositoryAssociation, error)
public DataRepositoryAssociation(string name, DataRepositoryAssociationArgs args, CustomResourceOptions? opts = null)
public DataRepositoryAssociation(String name, DataRepositoryAssociationArgs args)
public DataRepositoryAssociation(String name, DataRepositoryAssociationArgs args, CustomResourceOptions options)
type: aws-native:fsx:DataRepositoryAssociation
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. DataRepositoryAssociationArgs
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. DataRepositoryAssociationArgs
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. DataRepositoryAssociationArgs
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. DataRepositoryAssociationArgs
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. DataRepositoryAssociationArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

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

DataRepositoryPath This property is required. string
The path to the Amazon S3 data repository that will be linked to the file system. The path can be an S3 bucket or prefix in the format s3://myBucket/myPrefix/. This path specifies where in the S3 data repository files will be imported from or exported to.
FileSystemId This property is required. string
The ID of the file system on which the data repository association is configured.
FileSystemPath This property is required. string
A path on the Amazon FSx for Lustre file system that points to a high-level directory (such as /ns1/) or subdirectory (such as /ns1/subdir/) that will be mapped 1-1 with DataRepositoryPath. The leading forward slash in the name is required. Two data repository associations cannot have overlapping file system paths. For example, if a data repository is associated with file system path /ns1/, then you cannot link another data repository with file system path /ns1/ns2. This path specifies where in your file system files will be exported from or imported to. This file system directory can be linked to only one Amazon S3 bucket, and no other S3 bucket can be linked to the directory. If you specify only a forward slash (/) as the file system path, you can link only one data repository to the file system. You can only specify "/" as the file system path for the first data repository associated with a file system.
BatchImportMetaDataOnCreate bool
A boolean flag indicating whether an import data repository task to import metadata should run after the data repository association is created. The task runs if this flag is set to true.
ImportedFileChunkSize int
For files imported from a data repository, this value determines the stripe count and maximum amount of data per file (in MiB) stored on a single physical disk. The maximum number of disks that a single file can be striped across is limited by the total number of disks that make up the file system or cache. The default chunk size is 1,024 MiB (1 GiB) and can go as high as 512,000 MiB (500 GiB). Amazon S3 objects have a maximum size of 5 TB.
S3 Pulumi.AwsNative.FSx.Inputs.DataRepositoryAssociationS3
The configuration for an Amazon S3 data repository linked to an Amazon FSx Lustre file system with a data repository association. The configuration defines which file events (new, changed, or deleted files or directories) are automatically imported from the linked data repository to the file system or automatically exported from the file system to the data repository.
Tags List<Pulumi.AwsNative.Inputs.Tag>
An array of key-value pairs to apply to this resource. For more information, see Tag.
DataRepositoryPath This property is required. string
The path to the Amazon S3 data repository that will be linked to the file system. The path can be an S3 bucket or prefix in the format s3://myBucket/myPrefix/. This path specifies where in the S3 data repository files will be imported from or exported to.
FileSystemId This property is required. string
The ID of the file system on which the data repository association is configured.
FileSystemPath This property is required. string
A path on the Amazon FSx for Lustre file system that points to a high-level directory (such as /ns1/) or subdirectory (such as /ns1/subdir/) that will be mapped 1-1 with DataRepositoryPath. The leading forward slash in the name is required. Two data repository associations cannot have overlapping file system paths. For example, if a data repository is associated with file system path /ns1/, then you cannot link another data repository with file system path /ns1/ns2. This path specifies where in your file system files will be exported from or imported to. This file system directory can be linked to only one Amazon S3 bucket, and no other S3 bucket can be linked to the directory. If you specify only a forward slash (/) as the file system path, you can link only one data repository to the file system. You can only specify "/" as the file system path for the first data repository associated with a file system.
BatchImportMetaDataOnCreate bool
A boolean flag indicating whether an import data repository task to import metadata should run after the data repository association is created. The task runs if this flag is set to true.
ImportedFileChunkSize int
For files imported from a data repository, this value determines the stripe count and maximum amount of data per file (in MiB) stored on a single physical disk. The maximum number of disks that a single file can be striped across is limited by the total number of disks that make up the file system or cache. The default chunk size is 1,024 MiB (1 GiB) and can go as high as 512,000 MiB (500 GiB). Amazon S3 objects have a maximum size of 5 TB.
S3 DataRepositoryAssociationS3Args
The configuration for an Amazon S3 data repository linked to an Amazon FSx Lustre file system with a data repository association. The configuration defines which file events (new, changed, or deleted files or directories) are automatically imported from the linked data repository to the file system or automatically exported from the file system to the data repository.
Tags TagArgs
An array of key-value pairs to apply to this resource. For more information, see Tag.
dataRepositoryPath This property is required. String
The path to the Amazon S3 data repository that will be linked to the file system. The path can be an S3 bucket or prefix in the format s3://myBucket/myPrefix/. This path specifies where in the S3 data repository files will be imported from or exported to.
fileSystemId This property is required. String
The ID of the file system on which the data repository association is configured.
fileSystemPath This property is required. String
A path on the Amazon FSx for Lustre file system that points to a high-level directory (such as /ns1/) or subdirectory (such as /ns1/subdir/) that will be mapped 1-1 with DataRepositoryPath. The leading forward slash in the name is required. Two data repository associations cannot have overlapping file system paths. For example, if a data repository is associated with file system path /ns1/, then you cannot link another data repository with file system path /ns1/ns2. This path specifies where in your file system files will be exported from or imported to. This file system directory can be linked to only one Amazon S3 bucket, and no other S3 bucket can be linked to the directory. If you specify only a forward slash (/) as the file system path, you can link only one data repository to the file system. You can only specify "/" as the file system path for the first data repository associated with a file system.
batchImportMetaDataOnCreate Boolean
A boolean flag indicating whether an import data repository task to import metadata should run after the data repository association is created. The task runs if this flag is set to true.
importedFileChunkSize Integer
For files imported from a data repository, this value determines the stripe count and maximum amount of data per file (in MiB) stored on a single physical disk. The maximum number of disks that a single file can be striped across is limited by the total number of disks that make up the file system or cache. The default chunk size is 1,024 MiB (1 GiB) and can go as high as 512,000 MiB (500 GiB). Amazon S3 objects have a maximum size of 5 TB.
s3 DataRepositoryAssociationS3
The configuration for an Amazon S3 data repository linked to an Amazon FSx Lustre file system with a data repository association. The configuration defines which file events (new, changed, or deleted files or directories) are automatically imported from the linked data repository to the file system or automatically exported from the file system to the data repository.
tags List<Tag>
An array of key-value pairs to apply to this resource. For more information, see Tag.
dataRepositoryPath This property is required. string
The path to the Amazon S3 data repository that will be linked to the file system. The path can be an S3 bucket or prefix in the format s3://myBucket/myPrefix/. This path specifies where in the S3 data repository files will be imported from or exported to.
fileSystemId This property is required. string
The ID of the file system on which the data repository association is configured.
fileSystemPath This property is required. string
A path on the Amazon FSx for Lustre file system that points to a high-level directory (such as /ns1/) or subdirectory (such as /ns1/subdir/) that will be mapped 1-1 with DataRepositoryPath. The leading forward slash in the name is required. Two data repository associations cannot have overlapping file system paths. For example, if a data repository is associated with file system path /ns1/, then you cannot link another data repository with file system path /ns1/ns2. This path specifies where in your file system files will be exported from or imported to. This file system directory can be linked to only one Amazon S3 bucket, and no other S3 bucket can be linked to the directory. If you specify only a forward slash (/) as the file system path, you can link only one data repository to the file system. You can only specify "/" as the file system path for the first data repository associated with a file system.
batchImportMetaDataOnCreate boolean
A boolean flag indicating whether an import data repository task to import metadata should run after the data repository association is created. The task runs if this flag is set to true.
importedFileChunkSize number
For files imported from a data repository, this value determines the stripe count and maximum amount of data per file (in MiB) stored on a single physical disk. The maximum number of disks that a single file can be striped across is limited by the total number of disks that make up the file system or cache. The default chunk size is 1,024 MiB (1 GiB) and can go as high as 512,000 MiB (500 GiB). Amazon S3 objects have a maximum size of 5 TB.
s3 DataRepositoryAssociationS3
The configuration for an Amazon S3 data repository linked to an Amazon FSx Lustre file system with a data repository association. The configuration defines which file events (new, changed, or deleted files or directories) are automatically imported from the linked data repository to the file system or automatically exported from the file system to the data repository.
tags Tag[]
An array of key-value pairs to apply to this resource. For more information, see Tag.
data_repository_path This property is required. str
The path to the Amazon S3 data repository that will be linked to the file system. The path can be an S3 bucket or prefix in the format s3://myBucket/myPrefix/. This path specifies where in the S3 data repository files will be imported from or exported to.
file_system_id This property is required. str
The ID of the file system on which the data repository association is configured.
file_system_path This property is required. str
A path on the Amazon FSx for Lustre file system that points to a high-level directory (such as /ns1/) or subdirectory (such as /ns1/subdir/) that will be mapped 1-1 with DataRepositoryPath. The leading forward slash in the name is required. Two data repository associations cannot have overlapping file system paths. For example, if a data repository is associated with file system path /ns1/, then you cannot link another data repository with file system path /ns1/ns2. This path specifies where in your file system files will be exported from or imported to. This file system directory can be linked to only one Amazon S3 bucket, and no other S3 bucket can be linked to the directory. If you specify only a forward slash (/) as the file system path, you can link only one data repository to the file system. You can only specify "/" as the file system path for the first data repository associated with a file system.
batch_import_meta_data_on_create bool
A boolean flag indicating whether an import data repository task to import metadata should run after the data repository association is created. The task runs if this flag is set to true.
imported_file_chunk_size int
For files imported from a data repository, this value determines the stripe count and maximum amount of data per file (in MiB) stored on a single physical disk. The maximum number of disks that a single file can be striped across is limited by the total number of disks that make up the file system or cache. The default chunk size is 1,024 MiB (1 GiB) and can go as high as 512,000 MiB (500 GiB). Amazon S3 objects have a maximum size of 5 TB.
s3 DataRepositoryAssociationS3Args
The configuration for an Amazon S3 data repository linked to an Amazon FSx Lustre file system with a data repository association. The configuration defines which file events (new, changed, or deleted files or directories) are automatically imported from the linked data repository to the file system or automatically exported from the file system to the data repository.
tags Sequence[TagArgs]
An array of key-value pairs to apply to this resource. For more information, see Tag.
dataRepositoryPath This property is required. String
The path to the Amazon S3 data repository that will be linked to the file system. The path can be an S3 bucket or prefix in the format s3://myBucket/myPrefix/. This path specifies where in the S3 data repository files will be imported from or exported to.
fileSystemId This property is required. String
The ID of the file system on which the data repository association is configured.
fileSystemPath This property is required. String
A path on the Amazon FSx for Lustre file system that points to a high-level directory (such as /ns1/) or subdirectory (such as /ns1/subdir/) that will be mapped 1-1 with DataRepositoryPath. The leading forward slash in the name is required. Two data repository associations cannot have overlapping file system paths. For example, if a data repository is associated with file system path /ns1/, then you cannot link another data repository with file system path /ns1/ns2. This path specifies where in your file system files will be exported from or imported to. This file system directory can be linked to only one Amazon S3 bucket, and no other S3 bucket can be linked to the directory. If you specify only a forward slash (/) as the file system path, you can link only one data repository to the file system. You can only specify "/" as the file system path for the first data repository associated with a file system.
batchImportMetaDataOnCreate Boolean
A boolean flag indicating whether an import data repository task to import metadata should run after the data repository association is created. The task runs if this flag is set to true.
importedFileChunkSize Number
For files imported from a data repository, this value determines the stripe count and maximum amount of data per file (in MiB) stored on a single physical disk. The maximum number of disks that a single file can be striped across is limited by the total number of disks that make up the file system or cache. The default chunk size is 1,024 MiB (1 GiB) and can go as high as 512,000 MiB (500 GiB). Amazon S3 objects have a maximum size of 5 TB.
s3 Property Map
The configuration for an Amazon S3 data repository linked to an Amazon FSx Lustre file system with a data repository association. The configuration defines which file events (new, changed, or deleted files or directories) are automatically imported from the linked data repository to the file system or automatically exported from the file system to the data repository.
tags List<Property Map>
An array of key-value pairs to apply to this resource. For more information, see Tag.

Outputs

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

AssociationId string

Returns the data repository association's system generated Association ID.

Example: dra-abcdef0123456789d

Id string
The provider-assigned unique ID for this managed resource.
ResourceArn string

Returns the data repository association's Amazon Resource Name (ARN).

Example: arn:aws:fsx:us-east-1:111122223333:association/fs-abc012345def6789a/dra-abcdef0123456789b

AssociationId string

Returns the data repository association's system generated Association ID.

Example: dra-abcdef0123456789d

Id string
The provider-assigned unique ID for this managed resource.
ResourceArn string

Returns the data repository association's Amazon Resource Name (ARN).

Example: arn:aws:fsx:us-east-1:111122223333:association/fs-abc012345def6789a/dra-abcdef0123456789b

associationId String

Returns the data repository association's system generated Association ID.

Example: dra-abcdef0123456789d

id String
The provider-assigned unique ID for this managed resource.
resourceArn String

Returns the data repository association's Amazon Resource Name (ARN).

Example: arn:aws:fsx:us-east-1:111122223333:association/fs-abc012345def6789a/dra-abcdef0123456789b

associationId string

Returns the data repository association's system generated Association ID.

Example: dra-abcdef0123456789d

id string
The provider-assigned unique ID for this managed resource.
resourceArn string

Returns the data repository association's Amazon Resource Name (ARN).

Example: arn:aws:fsx:us-east-1:111122223333:association/fs-abc012345def6789a/dra-abcdef0123456789b

association_id str

Returns the data repository association's system generated Association ID.

Example: dra-abcdef0123456789d

id str
The provider-assigned unique ID for this managed resource.
resource_arn str

Returns the data repository association's Amazon Resource Name (ARN).

Example: arn:aws:fsx:us-east-1:111122223333:association/fs-abc012345def6789a/dra-abcdef0123456789b

associationId String

Returns the data repository association's system generated Association ID.

Example: dra-abcdef0123456789d

id String
The provider-assigned unique ID for this managed resource.
resourceArn String

Returns the data repository association's Amazon Resource Name (ARN).

Example: arn:aws:fsx:us-east-1:111122223333:association/fs-abc012345def6789a/dra-abcdef0123456789b

Supporting Types

DataRepositoryAssociationAutoExportPolicy
, DataRepositoryAssociationAutoExportPolicyArgs

Events This property is required. List<Pulumi.AwsNative.FSx.DataRepositoryAssociationEventType>

The AutoExportPolicy can have the following event values:

  • NEW - New files and directories are automatically exported to the data repository as they are added to the file system.
  • CHANGED - Changes to files and directories on the file system are automatically exported to the data repository.
  • DELETED - Files and directories are automatically deleted on the data repository when they are deleted on the file system.

You can define any combination of event types for your AutoExportPolicy.

Events This property is required. []DataRepositoryAssociationEventType

The AutoExportPolicy can have the following event values:

  • NEW - New files and directories are automatically exported to the data repository as they are added to the file system.
  • CHANGED - Changes to files and directories on the file system are automatically exported to the data repository.
  • DELETED - Files and directories are automatically deleted on the data repository when they are deleted on the file system.

You can define any combination of event types for your AutoExportPolicy.

events This property is required. List<DataRepositoryAssociationEventType>

The AutoExportPolicy can have the following event values:

  • NEW - New files and directories are automatically exported to the data repository as they are added to the file system.
  • CHANGED - Changes to files and directories on the file system are automatically exported to the data repository.
  • DELETED - Files and directories are automatically deleted on the data repository when they are deleted on the file system.

You can define any combination of event types for your AutoExportPolicy.

events This property is required. DataRepositoryAssociationEventType[]

The AutoExportPolicy can have the following event values:

  • NEW - New files and directories are automatically exported to the data repository as they are added to the file system.
  • CHANGED - Changes to files and directories on the file system are automatically exported to the data repository.
  • DELETED - Files and directories are automatically deleted on the data repository when they are deleted on the file system.

You can define any combination of event types for your AutoExportPolicy.

events This property is required. Sequence[DataRepositoryAssociationEventType]

The AutoExportPolicy can have the following event values:

  • NEW - New files and directories are automatically exported to the data repository as they are added to the file system.
  • CHANGED - Changes to files and directories on the file system are automatically exported to the data repository.
  • DELETED - Files and directories are automatically deleted on the data repository when they are deleted on the file system.

You can define any combination of event types for your AutoExportPolicy.

events This property is required. List<"NEW" | "CHANGED" | "DELETED">

The AutoExportPolicy can have the following event values:

  • NEW - New files and directories are automatically exported to the data repository as they are added to the file system.
  • CHANGED - Changes to files and directories on the file system are automatically exported to the data repository.
  • DELETED - Files and directories are automatically deleted on the data repository when they are deleted on the file system.

You can define any combination of event types for your AutoExportPolicy.

DataRepositoryAssociationAutoImportPolicy
, DataRepositoryAssociationAutoImportPolicyArgs

Events This property is required. List<Pulumi.AwsNative.FSx.DataRepositoryAssociationEventType>

The AutoImportPolicy can have the following event values:

  • NEW - Amazon FSx automatically imports metadata of files added to the linked S3 bucket that do not currently exist in the FSx file system.
  • CHANGED - Amazon FSx automatically updates file metadata and invalidates existing file content on the file system as files change in the data repository.
  • DELETED - Amazon FSx automatically deletes files on the file system as corresponding files are deleted in the data repository.

You can define any combination of event types for your AutoImportPolicy.

Events This property is required. []DataRepositoryAssociationEventType

The AutoImportPolicy can have the following event values:

  • NEW - Amazon FSx automatically imports metadata of files added to the linked S3 bucket that do not currently exist in the FSx file system.
  • CHANGED - Amazon FSx automatically updates file metadata and invalidates existing file content on the file system as files change in the data repository.
  • DELETED - Amazon FSx automatically deletes files on the file system as corresponding files are deleted in the data repository.

You can define any combination of event types for your AutoImportPolicy.

events This property is required. List<DataRepositoryAssociationEventType>

The AutoImportPolicy can have the following event values:

  • NEW - Amazon FSx automatically imports metadata of files added to the linked S3 bucket that do not currently exist in the FSx file system.
  • CHANGED - Amazon FSx automatically updates file metadata and invalidates existing file content on the file system as files change in the data repository.
  • DELETED - Amazon FSx automatically deletes files on the file system as corresponding files are deleted in the data repository.

You can define any combination of event types for your AutoImportPolicy.

events This property is required. DataRepositoryAssociationEventType[]

The AutoImportPolicy can have the following event values:

  • NEW - Amazon FSx automatically imports metadata of files added to the linked S3 bucket that do not currently exist in the FSx file system.
  • CHANGED - Amazon FSx automatically updates file metadata and invalidates existing file content on the file system as files change in the data repository.
  • DELETED - Amazon FSx automatically deletes files on the file system as corresponding files are deleted in the data repository.

You can define any combination of event types for your AutoImportPolicy.

events This property is required. Sequence[DataRepositoryAssociationEventType]

The AutoImportPolicy can have the following event values:

  • NEW - Amazon FSx automatically imports metadata of files added to the linked S3 bucket that do not currently exist in the FSx file system.
  • CHANGED - Amazon FSx automatically updates file metadata and invalidates existing file content on the file system as files change in the data repository.
  • DELETED - Amazon FSx automatically deletes files on the file system as corresponding files are deleted in the data repository.

You can define any combination of event types for your AutoImportPolicy.

events This property is required. List<"NEW" | "CHANGED" | "DELETED">

The AutoImportPolicy can have the following event values:

  • NEW - Amazon FSx automatically imports metadata of files added to the linked S3 bucket that do not currently exist in the FSx file system.
  • CHANGED - Amazon FSx automatically updates file metadata and invalidates existing file content on the file system as files change in the data repository.
  • DELETED - Amazon FSx automatically deletes files on the file system as corresponding files are deleted in the data repository.

You can define any combination of event types for your AutoImportPolicy.

DataRepositoryAssociationEventType
, DataRepositoryAssociationEventTypeArgs

New
NEW
Changed
CHANGED
Deleted
DELETED
DataRepositoryAssociationEventTypeNew
NEW
DataRepositoryAssociationEventTypeChanged
CHANGED
DataRepositoryAssociationEventTypeDeleted
DELETED
New
NEW
Changed
CHANGED
Deleted
DELETED
New
NEW
Changed
CHANGED
Deleted
DELETED
NEW
NEW
CHANGED
CHANGED
DELETED
DELETED
"NEW"
NEW
"CHANGED"
CHANGED
"DELETED"
DELETED

DataRepositoryAssociationS3
, DataRepositoryAssociationS3Args

AutoExportPolicy Pulumi.AwsNative.FSx.Inputs.DataRepositoryAssociationAutoExportPolicy
Describes a data repository association's automatic export policy. The AutoExportPolicy defines the types of updated objects on the file system that will be automatically exported to the data repository. As you create, modify, or delete files, Amazon FSx for Lustre automatically exports the defined changes asynchronously once your application finishes modifying the file. The AutoExportPolicy is only supported on Amazon FSx for Lustre file systems with a data repository association.
AutoImportPolicy Pulumi.AwsNative.FSx.Inputs.DataRepositoryAssociationAutoImportPolicy
Describes the data repository association's automatic import policy. The AutoImportPolicy defines how Amazon FSx keeps your file metadata and directory listings up to date by importing changes to your Amazon FSx for Lustre file system as you modify objects in a linked S3 bucket. The AutoImportPolicy is only supported on Amazon FSx for Lustre file systems with a data repository association.
AutoExportPolicy DataRepositoryAssociationAutoExportPolicy
Describes a data repository association's automatic export policy. The AutoExportPolicy defines the types of updated objects on the file system that will be automatically exported to the data repository. As you create, modify, or delete files, Amazon FSx for Lustre automatically exports the defined changes asynchronously once your application finishes modifying the file. The AutoExportPolicy is only supported on Amazon FSx for Lustre file systems with a data repository association.
AutoImportPolicy DataRepositoryAssociationAutoImportPolicy
Describes the data repository association's automatic import policy. The AutoImportPolicy defines how Amazon FSx keeps your file metadata and directory listings up to date by importing changes to your Amazon FSx for Lustre file system as you modify objects in a linked S3 bucket. The AutoImportPolicy is only supported on Amazon FSx for Lustre file systems with a data repository association.
autoExportPolicy DataRepositoryAssociationAutoExportPolicy
Describes a data repository association's automatic export policy. The AutoExportPolicy defines the types of updated objects on the file system that will be automatically exported to the data repository. As you create, modify, or delete files, Amazon FSx for Lustre automatically exports the defined changes asynchronously once your application finishes modifying the file. The AutoExportPolicy is only supported on Amazon FSx for Lustre file systems with a data repository association.
autoImportPolicy DataRepositoryAssociationAutoImportPolicy
Describes the data repository association's automatic import policy. The AutoImportPolicy defines how Amazon FSx keeps your file metadata and directory listings up to date by importing changes to your Amazon FSx for Lustre file system as you modify objects in a linked S3 bucket. The AutoImportPolicy is only supported on Amazon FSx for Lustre file systems with a data repository association.
autoExportPolicy DataRepositoryAssociationAutoExportPolicy
Describes a data repository association's automatic export policy. The AutoExportPolicy defines the types of updated objects on the file system that will be automatically exported to the data repository. As you create, modify, or delete files, Amazon FSx for Lustre automatically exports the defined changes asynchronously once your application finishes modifying the file. The AutoExportPolicy is only supported on Amazon FSx for Lustre file systems with a data repository association.
autoImportPolicy DataRepositoryAssociationAutoImportPolicy
Describes the data repository association's automatic import policy. The AutoImportPolicy defines how Amazon FSx keeps your file metadata and directory listings up to date by importing changes to your Amazon FSx for Lustre file system as you modify objects in a linked S3 bucket. The AutoImportPolicy is only supported on Amazon FSx for Lustre file systems with a data repository association.
auto_export_policy DataRepositoryAssociationAutoExportPolicy
Describes a data repository association's automatic export policy. The AutoExportPolicy defines the types of updated objects on the file system that will be automatically exported to the data repository. As you create, modify, or delete files, Amazon FSx for Lustre automatically exports the defined changes asynchronously once your application finishes modifying the file. The AutoExportPolicy is only supported on Amazon FSx for Lustre file systems with a data repository association.
auto_import_policy DataRepositoryAssociationAutoImportPolicy
Describes the data repository association's automatic import policy. The AutoImportPolicy defines how Amazon FSx keeps your file metadata and directory listings up to date by importing changes to your Amazon FSx for Lustre file system as you modify objects in a linked S3 bucket. The AutoImportPolicy is only supported on Amazon FSx for Lustre file systems with a data repository association.
autoExportPolicy Property Map
Describes a data repository association's automatic export policy. The AutoExportPolicy defines the types of updated objects on the file system that will be automatically exported to the data repository. As you create, modify, or delete files, Amazon FSx for Lustre automatically exports the defined changes asynchronously once your application finishes modifying the file. The AutoExportPolicy is only supported on Amazon FSx for Lustre file systems with a data repository association.
autoImportPolicy Property Map
Describes the data repository association's automatic import policy. The AutoImportPolicy defines how Amazon FSx keeps your file metadata and directory listings up to date by importing changes to your Amazon FSx for Lustre file system as you modify objects in a linked S3 bucket. The AutoImportPolicy is only supported on Amazon FSx for Lustre file systems with a data repository association.

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.26.0 published on Wednesday, Mar 12, 2025 by Pulumi