@Stability(value=Stable)
public static interface CfnDataRepositoryAssociation.AutoExportPolicyProperty
extends software.amazon.jsii.JsiiSerializable
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.
This AutoExportPolicy is supported only for Amazon FSx for Lustre file systems with the Persistent_2 deployment type.
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnDataRepositoryAssociation.AutoExportPolicyProperty.Builder
A builder for
CfnDataRepositoryAssociation.AutoExportPolicyProperty |
static class |
CfnDataRepositoryAssociation.AutoExportPolicyProperty.Jsii$Proxy
An implementation for
CfnDataRepositoryAssociation.AutoExportPolicyProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnDataRepositoryAssociation.AutoExportPolicyProperty.Builder |
builder() |
List<String> |
getEvents()
The `AutoExportPolicy` can have the following event values:.
|
@Stability(value=Stable) @NotNull List<String> getEvents()
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 .
@Stability(value=Stable) static CfnDataRepositoryAssociation.AutoExportPolicyProperty.Builder builder()
Copyright © 2022. All rights reserved.