AWS Native is in preview. AWS Classic is fully supported.
aws-native.fsx.getDataRepositoryAssociation
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
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.
Using getDataRepositoryAssociation
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getDataRepositoryAssociation(args: GetDataRepositoryAssociationArgs, opts?: InvokeOptions): Promise<GetDataRepositoryAssociationResult>
function getDataRepositoryAssociationOutput(args: GetDataRepositoryAssociationOutputArgs, opts?: InvokeOptions): Output<GetDataRepositoryAssociationResult>
def get_data_repository_association(association_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDataRepositoryAssociationResult
def get_data_repository_association_output(association_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDataRepositoryAssociationResult]
func LookupDataRepositoryAssociation(ctx *Context, args *LookupDataRepositoryAssociationArgs, opts ...InvokeOption) (*LookupDataRepositoryAssociationResult, error)
func LookupDataRepositoryAssociationOutput(ctx *Context, args *LookupDataRepositoryAssociationOutputArgs, opts ...InvokeOption) LookupDataRepositoryAssociationResultOutput
> Note: This function is named LookupDataRepositoryAssociation
in the Go SDK.
public static class GetDataRepositoryAssociation
{
public static Task<GetDataRepositoryAssociationResult> InvokeAsync(GetDataRepositoryAssociationArgs args, InvokeOptions? opts = null)
public static Output<GetDataRepositoryAssociationResult> Invoke(GetDataRepositoryAssociationInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetDataRepositoryAssociationResult> getDataRepositoryAssociation(GetDataRepositoryAssociationArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws-native:fsx:getDataRepositoryAssociation
arguments:
# arguments dictionary
The following arguments are supported:
- Association
Id string Returns the data repository association's system generated Association ID.
Example:
dra-abcdef0123456789d
- Association
Id string Returns the data repository association's system generated Association ID.
Example:
dra-abcdef0123456789d
- association
Id String Returns the data repository association's system generated Association ID.
Example:
dra-abcdef0123456789d
- association
Id string Returns the data repository association's system generated Association ID.
Example:
dra-abcdef0123456789d
- association_
id str Returns the data repository association's system generated Association ID.
Example:
dra-abcdef0123456789d
- association
Id String Returns the data repository association's system generated Association ID.
Example:
dra-abcdef0123456789d
getDataRepositoryAssociation Result
The following output properties are available:
- Association
Id string Returns the data repository association's system generated Association ID.
Example:
dra-abcdef0123456789d
- Imported
File intChunk Size - 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 Returns the data repository association's Amazon Resource Name (ARN).
Example:
arn:aws:fsx:us-east-1:111122223333:association/fs-abc012345def6789a/dra-abcdef0123456789b
- S3
Pulumi.
Aws Native. FSx. Outputs. Data Repository Association S3 - 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.
- List<Pulumi.
Aws Native. Outputs. Tag> - An array of key-value pairs to apply to this resource. For more information, see Tag.
- Association
Id string Returns the data repository association's system generated Association ID.
Example:
dra-abcdef0123456789d
- Imported
File intChunk Size - 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 Returns the data repository association's Amazon Resource Name (ARN).
Example:
arn:aws:fsx:us-east-1:111122223333:association/fs-abc012345def6789a/dra-abcdef0123456789b
- S3
Data
Repository Association S3 - 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.
- Tag
- An array of key-value pairs to apply to this resource. For more information, see Tag.
- association
Id String Returns the data repository association's system generated Association ID.
Example:
dra-abcdef0123456789d
- imported
File IntegerChunk Size - 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 Returns the data repository association's Amazon Resource Name (ARN).
Example:
arn:aws:fsx:us-east-1:111122223333:association/fs-abc012345def6789a/dra-abcdef0123456789b
- s3
Data
Repository Association S3 - 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.
- List<Tag>
- An array of key-value pairs to apply to this resource. For more information, see Tag.
- association
Id string Returns the data repository association's system generated Association ID.
Example:
dra-abcdef0123456789d
- imported
File numberChunk Size - 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 Returns the data repository association's Amazon Resource Name (ARN).
Example:
arn:aws:fsx:us-east-1:111122223333:association/fs-abc012345def6789a/dra-abcdef0123456789b
- s3
Data
Repository Association S3 - 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.
- Tag[]
- An array of key-value pairs to apply to this resource. For more information, see Tag.
- association_
id str Returns the data repository association's system generated Association ID.
Example:
dra-abcdef0123456789d
- imported_
file_ intchunk_ size - 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 str Returns the data repository association's Amazon Resource Name (ARN).
Example:
arn:aws:fsx:us-east-1:111122223333:association/fs-abc012345def6789a/dra-abcdef0123456789b
- s3
Data
Repository Association S3 - 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.
- Sequence[root_Tag]
- An array of key-value pairs to apply to this resource. For more information, see Tag.
- association
Id String Returns the data repository association's system generated Association ID.
Example:
dra-abcdef0123456789d
- imported
File NumberChunk Size - 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 Returns the data repository association's Amazon Resource Name (ARN).
Example:
arn:aws:fsx:us-east-1:111122223333:association/fs-abc012345def6789a/dra-abcdef0123456789b
- 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.
- List<Property Map>
- An array of key-value pairs to apply to this resource. For more information, see Tag.
Supporting Types
DataRepositoryAssociationAutoExportPolicy
- Events
List<Pulumi.
Aws Native. FSx. Data Repository Association Event Type> 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
[]Data
Repository Association Event Type 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
List<Data
Repository Association Event Type> 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
Data
Repository Association Event Type[] 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
Sequence[Data
Repository Association Event Type] 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 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
- Events
List<Pulumi.
Aws Native. FSx. Data Repository Association Event Type> 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
[]Data
Repository Association Event Type 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
List<Data
Repository Association Event Type> 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
Data
Repository Association Event Type[] 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
Sequence[Data
Repository Association Event Type] 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 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
DataRepositoryAssociationS3
- Auto
Export Pulumi.Policy Aws Native. FSx. Inputs. Data Repository Association Auto Export Policy - 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. TheAutoExportPolicy
is only supported on Amazon FSx for Lustre file systems with a data repository association. - Auto
Import Pulumi.Policy Aws Native. FSx. Inputs. Data Repository Association Auto Import Policy - 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 DataPolicy Repository Association Auto Export Policy - 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. TheAutoExportPolicy
is only supported on Amazon FSx for Lustre file systems with a data repository association. - Auto
Import DataPolicy Repository Association Auto Import Policy - 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 DataPolicy Repository Association Auto Export Policy - 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. TheAutoExportPolicy
is only supported on Amazon FSx for Lustre file systems with a data repository association. - auto
Import DataPolicy Repository Association Auto Import Policy - 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 DataPolicy Repository Association Auto Export Policy - 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. TheAutoExportPolicy
is only supported on Amazon FSx for Lustre file systems with a data repository association. - auto
Import DataPolicy Repository Association Auto Import Policy - 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_ Datapolicy Repository Association Auto Export Policy - 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. TheAutoExportPolicy
is only supported on Amazon FSx for Lustre file systems with a data repository association. - auto_
import_ Datapolicy Repository Association Auto Import Policy - 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 Property MapPolicy - 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. TheAutoExportPolicy
is only supported on Amazon FSx for Lustre file systems with a data repository association. - auto
Import Property MapPolicy - 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
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
AWS Native is in preview. AWS Classic is fully supported.