Interface CfnDataRepositoryAssociation.AutoExportPolicyProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDataRepositoryAssociation.AutoExportPolicyProperty.Jsii$Proxy
- Enclosing class:
CfnDataRepositoryAssociation
@Stability(Stable)
public static interface CfnDataRepositoryAssociation.AutoExportPolicyProperty
extends software.amazon.jsii.JsiiSerializable
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.
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.*; AutoExportPolicyProperty autoExportPolicyProperty = AutoExportPolicyProperty.builder() .events(List.of("events")) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnDataRepositoryAssociation.AutoExportPolicyProperty
static final class
An implementation forCfnDataRepositoryAssociation.AutoExportPolicyProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
TheAutoExportPolicy
can have the following event values:.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getEvents
TheAutoExportPolicy
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
.- See Also:
-
builder
-