import { Value } from '../../cloudformation/Value';
import { S3Props } from './datarepositoryassociation/S3Props';
import { Tag } from '../Tag';
import { Attribute } from '../../cloudformation/Attribute';
import { AwsResource } from '../../cloudformation/resources/AwsResource';
export type DataRepositoryAssociationAttributes = {
    ResourceARN: Attribute<string>;
    AssociationId: Attribute<string>;
};
export type DataRepositoryAssociation = AwsResource<'AWS::FSx::DataRepositoryAssociation', DataRepositoryAssociationProperties, DataRepositoryAssociationAttributes>;
/**
  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 <code>scratch_1</code> deployment type.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-fsx-datarepositoryassociation.html">the AWS Docs</a>
*/
export declare function dataRepositoryAssociation(dataRepositoryAssociationProps: DataRepositoryAssociationProperties): DataRepositoryAssociation;
/**
  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 <code>scratch_1</code> deployment type.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-fsx-datarepositoryassociation.html">the AWS Docs</a>
*/
export interface DataRepositoryAssociationProperties {
    /** <code>FileSystemPath</code>  <a name="cfn-fsx-datarepositoryassociation-filesystempath"></a>
  A path on the Amazon FSx for Lustre file system that points to a high-level directory (such as <code>/ns1/</code>) or subdirectory (such as <code>/ns1/subdir/</code>) that will be mapped 1-1 with <code>DataRepositoryPath</code>. 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 <code>/ns1/</code>, then you cannot link another data repository with file system path <code>/ns1/ns2</code>.<br />
  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.<br />
  If you specify only a forward slash (<code>/</code>) 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.
  
  Required: Yes<br />
  
  Minimum: <code>1</code><br />
  
  Maximum: <code>4096</code><br />
  
  Pattern: <code>^[^\u0000\u0085\u2028\u2029\r\n]{1,4096}$</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    fileSystemPath: Value<string>;
    /** <code>DataRepositoryPath</code>  <a name="cfn-fsx-datarepositoryassociation-datarepositorypath"></a>
  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 <code>s3://myBucket/myPrefix/</code>. This path specifies where in the S3 data repository files will be imported from or exported to.<br />
  
  Required: Yes<br />
  
  Minimum: <code>3</code><br />
  
  Maximum: <code>4357</code><br />
  
  Pattern: <code>^[^\u0000\u0085\u2028\u2029\r\n]{3,4357}$</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    dataRepositoryPath: Value<string>;
    /** <code>BatchImportMetaDataOnCreate</code>  <a name="cfn-fsx-datarepositoryassociation-batchimportmetadataoncreate"></a>
  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 <code>true</code>.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    batchImportMetaDataOnCreate?: Value<boolean>;
    /** <code>S3</code>  <a name="cfn-fsx-datarepositoryassociation-s3"></a>
  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.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    s3?: S3Props;
    /** <code>FileSystemId</code>  <a name="cfn-fsx-datarepositoryassociation-filesystemid"></a>
  The ID of the file system on which the data repository association is configured.<br />
  
  Required: Yes<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    fileSystemId: Value<string>;
    /** <code>ImportedFileChunkSize</code>  <a name="cfn-fsx-datarepositoryassociation-importedfilechunksize"></a>
  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.<br />
  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.<br />
  
  Required: No<br />
  
  Minimum: <code>1</code><br />
  
  Maximum: <code>512000</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    importedFileChunkSize?: Value<number>;
    /** <code>Tags</code>  <a name="cfn-fsx-datarepositoryassociation-tags"></a>
  An array of key-value pairs to apply to this resource.<br />
  For more information, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html">Tag</a>.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    tags?: Tag[];
}
