Data Source schema for AWS::FSx::DataRepositoryAssociation
id
(String) Uniquely identifies the resource.association_id
(String)batch_import_meta_data_on_create
(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
.data_repository_path
(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.file_system_id
(String) The ID of the file system on which the data repository association is configured.file_system_path
(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.imported_file_chunk_size
(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.resource_arn
(String)s3
(Attributes) 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. (see below for nested schema)tags
(Attributes List) An array of key-value pairs to apply to this resource.
For more information, see Tag. (see below for nested schema)s3
Read-Only:
auto_export_policy
(Attributes) 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. (see below for nested schema)auto_import_policy
(Attributes) 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. (see below for nested schema)s3.auto_export_policy
Read-Only:
events
(Set of String) 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
.
s3.auto_import_policy
Read-Only:
events
(Set of String) 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
.
tags
Read-Only:
key
(String) A value that specifies the TagKey
, the name of the tag. Tag keys must be unique for the resource to which they are attached.value
(String) A value that specifies the TagValue
, the value assigned to the corresponding tag key. Tag values can be null and don't have to be unique in a tag set. For example, you can have a key-value pair in a tag set of finances : April
and also of payroll : April
.