Interface CfnDataRepositoryAssociation.S3Property
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDataRepositoryAssociation.S3Property.Jsii$Proxy
- Enclosing class:
CfnDataRepositoryAssociation
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.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.fsx.*;
S3Property s3Property = S3Property.builder()
.autoExportPolicy(AutoExportPolicyProperty.builder()
.events(List.of("events"))
.build())
.autoImportPolicy(AutoImportPolicyProperty.builder()
.events(List.of("events"))
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnDataRepositoryAssociation.S3Propertystatic final classAn implementation forCfnDataRepositoryAssociation.S3Property -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAutoExportPolicy
Describes a data repository association's automatic export policy.The
AutoExportPolicydefines 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
AutoExportPolicyis only supported on Amazon FSx for Lustre file systems with a data repository association.Returns union: either
IResolvableorCfnDataRepositoryAssociation.AutoExportPolicyProperty- See Also:
-
getAutoImportPolicy
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
AutoImportPolicyis only supported on Amazon FSx for Lustre file systems with a data repository association.Returns union: either
IResolvableorCfnDataRepositoryAssociation.AutoImportPolicyProperty- See Also:
-
builder
-